feat: use defineComponent wrapper
This commit is contained in:

committed by
kolaente

parent
a3329f1b42
commit
ba9f69344a
@ -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>
|
||||
|
@ -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>
|
||||
|
Reference in New Issue
Block a user