Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(ui): adds button to go to legacy edit pane #5605

Merged
merged 2 commits into from
Dec 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading