Rearrange stuff in accordance with comments on the MR, mostly

Also, add support for a custom message to the modified indicator
This commit is contained in:
Ekaterina Vaartis 2024-01-17 22:41:18 +03:00
commit a2133f5283
5 changed files with 263 additions and 153 deletions

View file

@ -15,7 +15,7 @@
</template>
<template #content>
<div class="modified-tooltip">
{{ $t('settings.setting_changed') }}
{{ $t(messageKey) }}
</div>
</template>
</Popover>
@ -33,7 +33,13 @@ library.add(
export default {
components: { Popover },
props: ['changed']
props: {
changed: Boolean,
messageKey: {
type: String,
default: 'settings.setting_changed'
}
}
}
</script>