File tree 2 files changed +13
-2
lines changed
2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -52,4 +52,5 @@ export type VeinShard = {
52
52
hasServicedPackage : boolean ;
53
53
54
54
hasMetapackage : boolean ;
55
+ hasWorkload : boolean ;
55
56
}
Original file line number Diff line number Diff line change 17
17
<i class =" bx bxs-memory-card" style =" color : #525252 " ></i >
18
18
<template #tooltip > This is a metapackage! </template >
19
19
</vs-tooltip >
20
+ <vs-tooltip
21
+ style =" display : inline "
22
+ v-if =" currentPackage.hasWorkload"
23
+ >
24
+ <i class =" bx bxs-box" style =" color : #525252 " ></i >
25
+ <template #tooltip > This is a workload! </template >
26
+ </vs-tooltip >
20
27
<i class =" bx bxs-package" style =" color : #525252 " v-else ></i >
21
28
{{ packageName }}
22
29
<verified-badge v-if =" currentPackage.isVerified" />
37
44
class =" vs-input vs-input--has-icon vs-input--has-icon--after"
38
45
style =" min-width : 100% ; opacity : 1 "
39
46
/>
40
- <label for =" vs-input--2445" class =" vs-input__label" >
41
- vein add {{ currentPackage.name }} --version {{ packageVersion }}
47
+ <label for =" vs-input--2445" class =" vs-input__label" v-if =" currentPackage.hasWorkload" >
48
+ rune workload install {{ currentPackage.name }} --version {{ packageVersion }}
49
+ </label >
50
+ <label for =" vs-input--2445" class =" vs-input__label" v-else >
51
+ rune add {{ currentPackage.name }} --version {{ packageVersion }}
42
52
</label >
43
53
<span v-if =" currentPackage"
44
54
class ="
You can’t perform that action at this time.
0 commit comments