Skip to content

Commit

Permalink
feat(ui): adds button to go to legacy edit pane (#5605)
Browse files Browse the repository at this point in the history
  • Loading branch information
whitdog47 authored Dec 11, 2024
1 parent 820c3da commit e1d6477
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions src/dispatch/static/dispatch/src/case/CaseTabs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,22 @@
/>
</template>
</DTooltip>

<!-- Go to legacy edit screen -->
<DTooltip text="Open legacy edit pane" hotkeys="">
<template #activator="{ tooltip }">
<v-btn
class="text-subtitle-2 font-weight-regular"
icon="mdi-square-edit-outline"
variant="text"
size="small"
:disabled="loading"
:href="editPageUrl()"
target="_self"
v-bind="tooltip"
/>
</template>
</DTooltip>
</div>
</div>

Expand Down Expand Up @@ -222,6 +238,10 @@ watch(
},
{ immediate: true, deep: true }
)
const editPageUrl = () => {
return `${route.path}/edit`
}
</script>

<style scoped>
Expand Down

0 comments on commit e1d6477

Please sign in to comment.