mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2025-12-30 17:47:24 +01:00
feat: cleanup
This commit is contained in:
@@ -479,48 +479,6 @@
|
||||
</div>
|
||||
</BaseCard>
|
||||
|
||||
<BaseCard>
|
||||
<template #title>
|
||||
<BaseSectionHeader class="pb-0">
|
||||
<MdiAccountMultiple class="-mt-1 mr-2" />
|
||||
<span> {{ $t("profile.group_settings") }} </span>
|
||||
<template #description>
|
||||
{{ $t("profile.group_settings_sub") }}
|
||||
</template>
|
||||
</BaseSectionHeader>
|
||||
</template>
|
||||
|
||||
<div v-if="group && currencies && currencies.length > 0" class="p-5 pt-0">
|
||||
<Label for="currency"> {{ $t("profile.currency_format") }} </Label>
|
||||
<Select
|
||||
id="currency"
|
||||
:model-value="currency.code"
|
||||
@update:model-value="
|
||||
event => {
|
||||
const newCurrency = currencies?.find(c => c.code === event);
|
||||
if (newCurrency) {
|
||||
currency = newCurrency;
|
||||
}
|
||||
}
|
||||
"
|
||||
>
|
||||
<SelectTrigger>
|
||||
<SelectValue />
|
||||
</SelectTrigger>
|
||||
<SelectContent>
|
||||
<SelectItem v-for="c in currencies" :key="c.code" :value="c.code">
|
||||
{{ c.name }}
|
||||
</SelectItem>
|
||||
</SelectContent>
|
||||
</Select>
|
||||
<p class="m-2 text-sm">{{ $t("profile.example") }}: {{ currencyExample }}</p>
|
||||
|
||||
<div class="mt-4">
|
||||
<Button variant="secondary" size="sm" @click="updateGroup"> {{ $t("profile.update_group") }} </Button>
|
||||
</div>
|
||||
</div>
|
||||
</BaseCard>
|
||||
|
||||
<BaseCard>
|
||||
<template #title>
|
||||
<BaseSectionHeader>
|
||||
|
||||
Reference in New Issue
Block a user