fix: directly set arrays, objects and delete directly
Not needed since vue3 uses proxies
This commit is contained in:
parent
2b20f328cb
commit
db49b9b532
33 changed files with 104 additions and 113 deletions
|
|
@ -110,7 +110,7 @@ export default {
|
|||
const namespace = new NamespaceModel({id: this.$route.params.id})
|
||||
this.namespaceService.get(namespace)
|
||||
.then(r => {
|
||||
this.$set(this, 'namespace', r)
|
||||
this.namespace = r
|
||||
// This will trigger the dynamic loading of components once we actually have all the data to pass to them
|
||||
this.manageTeamsComponent = 'manageSharing'
|
||||
this.manageUsersComponent = 'manageSharing'
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ export default {
|
|||
const namespace = new NamespaceModel({id: this.$route.params.id})
|
||||
this.namespaceService.get(namespace)
|
||||
.then(r => {
|
||||
this.$set(this, 'namespace', r)
|
||||
this.namespace = r
|
||||
// This will trigger the dynamic loading of components once we actually have all the data to pass to them
|
||||
this.manageTeamsComponent = 'manageSharing'
|
||||
this.manageUsersComponent = 'manageSharing'
|
||||
|
|
|
|||
Reference in a new issue