mirror of
https://github.com/filegator/filegator.git
synced 2025-08-01 23:10:51 +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()
|
||||
},
|
||||
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,
|
||||
|
@@ -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,
|
||||
|
@@ -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,
|
||||
|
@@ -150,7 +150,7 @@ export default {
|
||||
selectDir() {
|
||||
this.formErrors.homedir = ''
|
||||
|
||||
this.$modal.open({
|
||||
this.$buefy.modal.open({
|
||||
parent: this,
|
||||
hasModalCard: true,
|
||||
component: Tree,
|
||||
|
Reference in New Issue
Block a user