fix(ui): put the workflow overflow menu at the end of the editor toolbar
This commit is contained in:
1 parent
4201512912
commit
bb8f716abd
1 file changed
+4
-4
@@ -420,6 +420,10 @@ function syncScroll(event: Event): void {
|
||||
</ul>
|
||||
</PopoverContent>
|
||||
</Popover>
|
||||
<span v-if="view === 'canvas' || view === 'yaml'" class="shrink-0" :title="publishBlocked">
|
||||
<Button type="submit" size="sm" class="disabled:bg-muted disabled:text-fg-muted disabled:opacity-100" :disabled="state.saving || !!publishBlocked">
|
||||
<Spinner v-if="state.saving" data-icon="inline-start" />Publish</Button>
|
||||
</span>
|
||||
<DropdownMenu>
|
||||
<DropdownMenuTrigger as-child>
|
||||
<Button type="button" variant="outline" size="icon-sm" aria-label="More"><Ellipsis /></Button>
|
||||
@@ -438,10 +442,6 @@ function syncScroll(event: Event): void {
|
||||
<DropdownMenuItem v-if="view === 'canvas' || view === 'yaml'" variant="destructive" @select="confirmDelete = true"><Trash2 />Delete workflow</DropdownMenuItem>
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
<span v-if="view === 'canvas' || view === 'yaml'" class="shrink-0" :title="publishBlocked">
|
||||
<Button type="submit" size="sm" class="disabled:bg-muted disabled:text-fg-muted disabled:opacity-100" :disabled="state.saving || !!publishBlocked">
|
||||
<Spinner v-if="state.saving" data-icon="inline-start" />Publish</Button>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<p v-if="runsLoading && !runs.length" class="text-xs text-fg-muted" role="status">Loading recent runs…</p>
|
||||
|
||||
Reference in new issue
Block a user