We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52b2d62 commit a5a6d0eCopy full SHA for a5a6d0e
1 file changed
dashboard/src/pages/servers/list/BenchRow.vue
@@ -162,6 +162,14 @@ const benchOptions = (bench) => [
162
},
163
]
164
165
+const siteOptions = (site) => [
166
+ {
167
+ label: 'Site Actions',
168
+ route: `/sites/${site.name}/actions`,
169
+ icon: LucideSlidersVertical,
170
+ },
171
+]
172
+
173
const statusColors = {
174
Active: 'bg-surface-green-3',
175
Broken: 'bg-surface-red-3',
@@ -365,7 +373,9 @@ onBeforeUnmount(() => {
365
373
<span class="text-ink-gray-8"
366
374
>{{ dayjsLocal(site.creation).fromNow() }}</span
367
375
>
368
- <Button variant="ghost"><LucideEllipsis class="size-4" /></Button>
376
+ <Dropdown :options="siteOptions(site)">
377
+ <Button variant="ghost"><LucideEllipsis class="size-4" /></Button>
378
+ </Dropdown>
369
379
</div>
370
380
</Collapsable>
371
381
</template>
0 commit comments