feat(front): add fw button to shortcuts modal
This commit is contained in:
parent
3f7ffbc885
commit
abe2bbbb3e
|
@ -4,6 +4,8 @@ import { useVModel } from '@vueuse/core'
|
||||||
import { computed } from 'vue'
|
import { computed } from 'vue'
|
||||||
import { useI18n } from 'vue-i18n'
|
import { useI18n } from 'vue-i18n'
|
||||||
|
|
||||||
|
import { FwButton } from '@funkwhale/ui'
|
||||||
|
|
||||||
interface Events {
|
interface Events {
|
||||||
(e: 'update:show', show: boolean): void
|
(e: 'update:show', show: boolean): void
|
||||||
}
|
}
|
||||||
|
@ -153,9 +155,12 @@ const player = computed(() => [
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
<footer class="actions">
|
<footer class="actions">
|
||||||
<button class="ui basic cancel button">
|
<fw-button
|
||||||
|
color="secondary"
|
||||||
|
@click="showRef = !showRef"
|
||||||
|
>
|
||||||
{{ $t('components.ShortcutsModal.button.close') }}
|
{{ $t('components.ShortcutsModal.button.close') }}
|
||||||
</button>
|
</fw-button>
|
||||||
</footer>
|
</footer>
|
||||||
</semantic-modal>
|
</semantic-modal>
|
||||||
</template>
|
</template>
|
||||||
|
|
Loading…
Reference in New Issue