feat(front): Add fw buttons to settings page
This commit is contained in:
parent
086659e888
commit
74fe8be1c9
|
@ -7,6 +7,8 @@ import { ref, computed, reactive } from 'vue'
|
||||||
import { useStore } from '~/store'
|
import { useStore } from '~/store'
|
||||||
import useLogger from '~/composables/useLogger'
|
import useLogger from '~/composables/useLogger'
|
||||||
|
|
||||||
|
import { FwButton } from '@funkwhale/ui'
|
||||||
|
|
||||||
interface Props {
|
interface Props {
|
||||||
group: SettingsGroup
|
group: SettingsGroup
|
||||||
settingsData: SettingsDataEntry[]
|
settingsData: SettingsDataEntry[]
|
||||||
|
@ -237,11 +239,13 @@ const save = async () => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button
|
<fw-button
|
||||||
|
color="primary"
|
||||||
|
class="right floated"
|
||||||
|
:is-loading="isLoading"
|
||||||
type="submit"
|
type="submit"
|
||||||
:class="['ui', {'loading': isLoading}, 'right', 'floated', 'success', 'button']"
|
|
||||||
>
|
>
|
||||||
{{ $t('components.admin.SettingsGroup.button.save') }}
|
{{ $t('components.admin.SettingsGroup.button.save') }}
|
||||||
</button>
|
</fw-button>
|
||||||
</form>
|
</form>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue