chore(ui): Minor cleanup

This commit is contained in:
Ferdinand Thiessen 2021-12-06 12:53:16 +01:00
parent e4d3ef2097
commit 960a19dae8
2 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ export default defineComponent({
const quasar = useQuasar(); const quasar = useQuasar();
// Make sure users are loaded if we can assign them // Make sure users are loaded if we can assign them
onBeforeMount(async () => await userStore.getUsers()); onBeforeMount(() => void userStore.getUsers());
/* Stuff used for general display */ /* Stuff used for general display */
// Get displayname of user // Get displayname of user

View File

@ -7,7 +7,7 @@
<q-tooltip>{{ displayName }} ({{ serviceValue }}x)</q-tooltip> <q-tooltip>{{ displayName }} ({{ serviceValue }}x)</q-tooltip>
<user-avatar :model-value="modelValue.userid"> <user-avatar :model-value="modelValue.userid">
<slot v-if="modelValue.is_backup"> <slot v-if="modelValue.is_backup">
<q-icon v-if="modelValue.is_backup" name="mdi-eye-off" /> <q-icon name="mdi-eye-off" />
</slot> </slot>
</user-avatar> </user-avatar>
<div class="ellipsis">{{ displayName }}</div> <div class="ellipsis">{{ displayName }}</div>