1
0

feat: use defineComponent wrapper

This commit is contained in:
Dominik Pschenitschni
2022-02-15 13:07:59 +01:00
committed by kolaente
parent a3329f1b42
commit ba9f69344a
75 changed files with 309 additions and 236 deletions

View File

@ -176,6 +176,8 @@
</template>
<script lang="ts">
import {defineComponent} from 'vue'
import rights from '../../models/constants/rights'
import LinkShareService from '../../services/linkShare'
@ -184,7 +186,7 @@ import LinkShareModel from '../../models/linkShare'
import copy from 'copy-to-clipboard'
import {mapState} from 'vuex'
export default {
export default defineComponent({
name: 'linkSharing',
props: {
listId: {
@ -256,7 +258,7 @@ export default {
return this.frontendUrl + 'share/' + hash + '/auth'
},
},
}
})
</script>
<style lang="scss" scoped>

View File

@ -131,6 +131,8 @@
</template>
<script lang="ts">
import {defineComponent} from 'vue'
import UserNamespaceService from '../../services/userNamespace'
import UserNamespaceModel from '../../models/userNamespace'
import UserListModel from '../../models/userList'
@ -149,7 +151,7 @@ import rights from '../../models/constants/rights.json'
import Multiselect from '@/components/input/multiselect.vue'
import Nothing from '@/components/misc/nothing.vue'
export default {
export default defineComponent({
name: 'userTeamShare',
props: {
type: {
@ -363,7 +365,7 @@ export default {
this.found = []
},
},
}
})
</script>
<style lang="scss" scoped>