Skip to content

Commit a5a6d0e

Browse files
committed
fix(servers-ui): add missing siteoptions
1 parent 52b2d62 commit a5a6d0e

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

dashboard/src/pages/servers/list/BenchRow.vue

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,14 @@ const benchOptions = (bench) => [
162162
},
163163
]
164164
165+
const siteOptions = (site) => [
166+
{
167+
label: 'Site Actions',
168+
route: `/sites/${site.name}/actions`,
169+
icon: LucideSlidersVertical,
170+
},
171+
]
172+
165173
const statusColors = {
166174
Active: 'bg-surface-green-3',
167175
Broken: 'bg-surface-red-3',
@@ -365,7 +373,9 @@ onBeforeUnmount(() => {
365373
<span class="text-ink-gray-8"
366374
>{{ dayjsLocal(site.creation).fromNow() }}</span
367375
>
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>
369379
</div>
370380
</Collapsable>
371381
</template>

0 commit comments

Comments
 (0)