fix(ui): drop captions that only describe the view
This commit is contained in:
1 parent
87bee02a04
commit
abfa91a7a0
3 files changed
+4
-5
No files matched your search
@@ -65,7 +65,6 @@ const CHANGE_VARIANTS = { added: "default", edited: "secondary", removed: "destr
|
||||
<div v-if="revision" class="flex min-h-0 flex-col gap-2">
|
||||
<div class="flex items-center gap-2 max-md:flex-wrap">
|
||||
<Tabs v-model="mode"><TabsList><TabsTrigger value="yaml">YAML</TabsTrigger><TabsTrigger value="canvas">Canvas</TabsTrigger></TabsList></Tabs>
|
||||
<span class="text-xs text-muted-foreground">{{ identical ? "Same as the current definition" : "Compared with the current definition" }}</span>
|
||||
<Button type="button" size="sm" variant="outline" class="ml-auto" :disabled="then === null || identical" :title="then === null ? 'Workflow removed' : undefined" @click="emit('restore', then!)">
|
||||
<RotateCcw data-icon="inline-start" /> Restore this version</Button>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user