mirror of
https://github.com/filegator/filegator.git
synced 2025-08-03 21:57:30 +02:00
Update buefy modal
This commit is contained in:
@@ -322,7 +322,7 @@ export default {
|
|||||||
this.$refs['ref-single-action-button-'+row.path].click()
|
this.$refs['ref-single-action-button-'+row.path].click()
|
||||||
},
|
},
|
||||||
selectDir() {
|
selectDir() {
|
||||||
this.$modal.open({
|
this.$buefy.modal.open({
|
||||||
parent: this,
|
parent: this,
|
||||||
hasModalCard: true,
|
hasModalCard: true,
|
||||||
component: Tree,
|
component: Tree,
|
||||||
@@ -334,7 +334,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
copy(event, item) {
|
copy(event, item) {
|
||||||
this.$modal.open({
|
this.$buefy.modal.open({
|
||||||
parent: this,
|
parent: this,
|
||||||
hasModalCard: true,
|
hasModalCard: true,
|
||||||
component: Tree,
|
component: Tree,
|
||||||
@@ -359,7 +359,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
move(event, item) {
|
move(event, item) {
|
||||||
this.$modal.open({
|
this.$buefy.modal.open({
|
||||||
parent: this,
|
parent: this,
|
||||||
hasModalCard: true,
|
hasModalCard: true,
|
||||||
component: Tree,
|
component: Tree,
|
||||||
@@ -409,7 +409,7 @@ export default {
|
|||||||
window.open(this.getDownloadLink(item.path), '_blank')
|
window.open(this.getDownloadLink(item.path), '_blank')
|
||||||
},
|
},
|
||||||
search() {
|
search() {
|
||||||
this.$modal.open({
|
this.$buefy.modal.open({
|
||||||
parent: this,
|
parent: this,
|
||||||
hasModalCard: true,
|
hasModalCard: true,
|
||||||
component: Search,
|
component: Search,
|
||||||
@@ -428,7 +428,7 @@ export default {
|
|||||||
if (this.isText(item.path)) {
|
if (this.isText(item.path)) {
|
||||||
modal = Editor
|
modal = Editor
|
||||||
}
|
}
|
||||||
this.$modal.open({
|
this.$buefy.modal.open({
|
||||||
parent: this,
|
parent: this,
|
||||||
props: { item: item },
|
props: { item: item },
|
||||||
hasModalCard: true,
|
hasModalCard: true,
|
||||||
@@ -496,7 +496,7 @@ export default {
|
|||||||
})
|
})
|
||||||
},
|
},
|
||||||
chmod(event, item) {
|
chmod(event, item) {
|
||||||
this.$modal.open({
|
this.$buefy.modal.open({
|
||||||
parent: this,
|
parent: this,
|
||||||
hasModalCard: true,
|
hasModalCard: true,
|
||||||
component: Permissions,
|
component: Permissions,
|
||||||
|
@@ -106,7 +106,7 @@ export default {
|
|||||||
return _.join(array, ', ')
|
return _.join(array, ', ')
|
||||||
},
|
},
|
||||||
addUser() {
|
addUser() {
|
||||||
this.$modal.open({
|
this.$buefy.modal.open({
|
||||||
parent: this,
|
parent: this,
|
||||||
props: { user: { role: 'user'}, action: 'add' },
|
props: { user: { role: 'user'}, action: 'add' },
|
||||||
hasModalCard: true,
|
hasModalCard: true,
|
||||||
@@ -123,7 +123,7 @@ export default {
|
|||||||
this.handleError('Missing username')
|
this.handleError('Missing username')
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
this.$modal.open({
|
this.$buefy.modal.open({
|
||||||
parent: this,
|
parent: this,
|
||||||
props: { user: user, action: 'edit' },
|
props: { user: user, action: 'edit' },
|
||||||
hasModalCard: true,
|
hasModalCard: true,
|
||||||
|
@@ -73,7 +73,7 @@ export default {
|
|||||||
this.$router.push('/login').catch(() => {})
|
this.$router.push('/login').catch(() => {})
|
||||||
},
|
},
|
||||||
profile() {
|
profile() {
|
||||||
this.$modal.open({
|
this.$buefy.modal.open({
|
||||||
parent: this,
|
parent: this,
|
||||||
hasModalCard: true,
|
hasModalCard: true,
|
||||||
component: Profile,
|
component: Profile,
|
||||||
|
@@ -150,7 +150,7 @@ export default {
|
|||||||
selectDir() {
|
selectDir() {
|
||||||
this.formErrors.homedir = ''
|
this.formErrors.homedir = ''
|
||||||
|
|
||||||
this.$modal.open({
|
this.$buefy.modal.open({
|
||||||
parent: this,
|
parent: this,
|
||||||
hasModalCard: true,
|
hasModalCard: true,
|
||||||
component: Tree,
|
component: Tree,
|
||||||
|
Reference in New Issue
Block a user