This commit is contained in:
Henry Jameson 2023-03-21 22:26:11 +02:00
parent 9a97e0d196
commit 6b40fc9895
4 changed files with 15 additions and 19 deletions

View File

@ -14,7 +14,6 @@ library.add(
)
const InstanceTab = {
data () {},
components: {
BooleanSetting,
ChoiceSetting,

View File

@ -13,26 +13,25 @@
class="label"
>
<template v-if="backendDescription">
{{ backendDescriptionLabel + ' ' }}
{{ backendDescriptionLabel }}
</template>
<template v-else>
<slot />
</template>
</span>
{{ ' ' }}
<ModifiedIndicator
:changed="isChanged"
:onclick="reset"
/>
<ProfileSettingIndicator :is-profile="isProfileSetting" />
<DraftButtons />
<p
v-if="backendDescriptionDescription"
class="setting-description"
>
{{ backendDescriptionDescription + ' ' }}
</p>
</Checkbox>
<ModifiedIndicator
:changed="isChanged"
:onclick="reset"
/>
<ProfileSettingIndicator :is-profile="isProfileSetting" />
<DraftButtons />
<p
v-if="backendDescriptionDescription"
class="setting-description"
>
{{ backendDescriptionDescription + ' ' }}
</p>
</label>
</template>

View File

@ -5,13 +5,13 @@
class="DraftButtons"
>
<Popover
v-if="$parent.isDirty"
trigger="hover"
:trigger-attrs="{ 'aria-label': $t('settings.commit_value_tooltip') }"
>
<template #trigger>
&nbsp;
<button
v-if="$parent.isDirty"
class="button button-default btn"
type="button"
:title="$t('settings.commit_value')"
@ -27,13 +27,13 @@
</template>
</Popover>
<Popover
v-if="$parent.isDirty"
trigger="hover"
:trigger-attrs="{ 'aria-label': $t('settings.reset_value_tooltip') }"
>
<template #trigger>
&nbsp;
<button
v-if="$parent.isDirty"
class="button button-default btn"
type="button"
:title="$t('settings.reset_value')"

View File

@ -1,4 +1,3 @@
import Checkbox from 'src/components/checkbox/checkbox.vue'
import ModifiedIndicator from './modified_indicator.vue'
import ProfileSettingIndicator from './profile_setting_indicator.vue'
import DraftButtons from './draft_buttons.vue'
@ -6,7 +5,6 @@ import { get, set } from 'lodash'
export default {
components: {
Checkbox,
ModifiedIndicator,
DraftButtons,
ProfileSettingIndicator