WIP: refs #6416 - refactor-InvoiceIn #196

Closed
jsegarra wants to merge 17 commits from 6416-refactor-InvoiceIn into dev
1 changed files with 3 additions and 1 deletions
Showing only changes of commit 89b6c50b97 - Show all commits

View File

@ -3,13 +3,15 @@ import { useI18n } from 'vue-i18n';
const $props = defineProps({ const $props = defineProps({
title: { type: String, require: true, default: 'twoFactor.validate' }, title: { type: String, require: true, default: 'twoFactor.validate' },
href: { type: String, require: true, default: null },
}); });
const { t } = useI18n(); const { t } = useI18n();
</script> </script>
<template> <template>
<QCardSection class="q-pa-none"> <QCardSection class="q-pa-none">
<a class="header"> <a class="header" :href="$props.href">
{{ t($props.title) }} {{ t($props.title) }}
<slot name="icon"></slot>
</a> </a>
<slot name="btn"></slot> <slot name="btn"></slot>
</QCardSection> </QCardSection>