/
wax_boy
/
semaphore_custom
Обзор
Документация
Войти
/
wax_boy
/
semaphore_custom
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
CI/CD
Аналитика
Безопасность
develop
web/src/components/ObjectRefsDialog.vue
57 строк
1 KB
Philipp Schosteritsch
committing implementation
04 июл 2023, 17:47
04 июл 2023, 17:47
d884330
Код
Авторство
О чём код?
<template> <v-dialog v-model="dialog" max-width="400" > <v-card> <v-card-title class="headline">{{ $t('cantDeleteThe', {objectTitle: objectTitle}) }} </v-card-title> <v-card-text class="pb-0"> <ObjectRefsView :object-title="objectTitle" :object-refs="objectRefs" :project-id="projectId" /> </v-card-text> <v-card-actions> <v-spacer></v-spacer> <v-btn color="blue darken-1" text @click="dialog = false" >{{ $t('close2') }}</v-btn> </v-card-actions> </v-card> </v-dialog> </template> <script> import ObjectRefsView from '@/components/ObjectRefsView.vue'; export default { components: { ObjectRefsView, }, props: { value: Boolean, objectRefs: Object, projectId: Number, objectTitle: String, }, data() { return { dialog: false, }; }, watch: { async dialog(val) { this.$emit('input', val); }, async value(val) { this.dialog = val; }, }, }; </script>