Clean up save-options (#9674)

This commit is contained in:
ian
2021-11-11 00:06:49 +08:00
committed by GitHub
parent f9746d4d2d
commit df50cc0536
2 changed files with 3 additions and 2 deletions

View File

@@ -790,6 +790,7 @@ layout_setup: Layout Setup
unsaved_changes: Unsaved Changes
unsaved_changes_copy: Are you sure you want to leave this page?
discard_changes: Discard Changes
discard_all_changes: Discard All Changes
discard_changes_copy: Are you sure you want to discard all the changes made?
show_x_axis: Show X Axis
show_y_axis: Show Y Axis

View File

@@ -1,7 +1,7 @@
<template>
<v-menu show-arrow>
<template #activator="{ toggle }">
<v-icon :class="{ disabled }" name="more_vert" clickable @click="toggle" />
<v-icon name="more_vert" clickable @click="toggle" />
</template>
<v-list>
@@ -21,7 +21,7 @@
</v-list-item>
<v-list-item v-if="!disabledOptions.includes('discard-and-stay')" clickable @click="$emit('discard-and-stay')">
<v-list-item-icon><v-icon name="undo" /></v-list-item-icon>
<v-list-item-content>{{ t('discard_changes') }}</v-list-item-content>
<v-list-item-content>{{ t('discard_all_changes') }}</v-list-item-content>
</v-list-item>
</v-list>
</v-menu>