Update buefy modal

This commit is contained in:
alkl58
2024-11-06 16:41:38 +01:00
committed by Milos Stojanovic
parent d9273d569a
commit d1aa55f41f
4 changed files with 10 additions and 10 deletions

View File

@@ -322,7 +322,7 @@ export default {
this.$refs['ref-single-action-button-'+row.path].click()
},
selectDir() {
this.$modal.open({
this.$buefy.modal.open({
parent: this,
hasModalCard: true,
component: Tree,
@@ -334,7 +334,7 @@ export default {
})
},
copy(event, item) {
this.$modal.open({
this.$buefy.modal.open({
parent: this,
hasModalCard: true,
component: Tree,
@@ -359,7 +359,7 @@ export default {
})
},
move(event, item) {
this.$modal.open({
this.$buefy.modal.open({
parent: this,
hasModalCard: true,
component: Tree,
@@ -409,7 +409,7 @@ export default {
window.open(this.getDownloadLink(item.path), '_blank')
},
search() {
this.$modal.open({
this.$buefy.modal.open({
parent: this,
hasModalCard: true,
component: Search,
@@ -428,7 +428,7 @@ export default {
if (this.isText(item.path)) {
modal = Editor
}
this.$modal.open({
this.$buefy.modal.open({
parent: this,
props: { item: item },
hasModalCard: true,
@@ -496,7 +496,7 @@ export default {
})
},
chmod(event, item) {
this.$modal.open({
this.$buefy.modal.open({
parent: this,
hasModalCard: true,
component: Permissions,

View File

@@ -106,7 +106,7 @@ export default {
return _.join(array, ', ')
},
addUser() {
this.$modal.open({
this.$buefy.modal.open({
parent: this,
props: { user: { role: 'user'}, action: 'add' },
hasModalCard: true,
@@ -123,7 +123,7 @@ export default {
this.handleError('Missing username')
return
}
this.$modal.open({
this.$buefy.modal.open({
parent: this,
props: { user: user, action: 'edit' },
hasModalCard: true,

View File

@@ -73,7 +73,7 @@ export default {
this.$router.push('/login').catch(() => {})
},
profile() {
this.$modal.open({
this.$buefy.modal.open({
parent: this,
hasModalCard: true,
component: Profile,

View File

@@ -150,7 +150,7 @@ export default {
selectDir() {
this.formErrors.homedir = ''
this.$modal.open({
this.$buefy.modal.open({
parent: this,
hasModalCard: true,
component: Tree,