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:
parent
872dffe51b
commit
a2133f5283
5 changed files with 263 additions and 153 deletions
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue