feat: implement modals with vue router 4 #816

Merged
konrad merged 62 commits from dpschen/frontend:feature/vue3-modals-with-router-4 into main 2022-02-05 16:49:04 +00:00
1 changed files with 3 additions and 2 deletions
Showing only changes of commit c896ad5883 - Show all commits

View File

@ -23,7 +23,7 @@
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>
import {computed, PropType, shallowRef} from 'vue' import {computed, shallowRef} from 'vue'
import {useI18n} from 'vue-i18n' import {useI18n} from 'vue-i18n'
import SubscriptionService from '@/services/subscription' import SubscriptionService from '@/services/subscription'
@ -38,9 +38,10 @@ const props = defineProps({
}, },
subscription: { subscription: {
required: true, required: true,
type: Object,
validator(value) { validator(value) {
return value instanceof SubscriptionModel || value === null return value instanceof SubscriptionModel || value === null
} },
}, },
entityId: { entityId: {
required: true, required: true,