mirror of
https://github.com/filegator/filegator.git
synced 2025-08-26 16:44:21 +02:00
Update buefy dialog, notification, toast
This commit is contained in:
@@ -93,7 +93,7 @@ export default {
|
||||
chunkSize: this.$store.state.config.upload_chunk_size,
|
||||
maxFileSize: this.$store.state.config.upload_max_size,
|
||||
maxFileSizeErrorCallback: (file) => {
|
||||
this.$notification.open({
|
||||
this.$buefy.notification.open({
|
||||
message: this.lang('File size error', file.name, this.formatBytes(this.$store.state.config.upload_max_size)),
|
||||
type: 'is-danger',
|
||||
queue: false,
|
||||
@@ -103,7 +103,7 @@ export default {
|
||||
})
|
||||
|
||||
if (!this.resumable.support) {
|
||||
this.$dialog.alert({
|
||||
this.$buefy.dialog.alert({
|
||||
type: 'is-danger',
|
||||
message: this.lang('Browser not supported.'),
|
||||
})
|
||||
@@ -148,7 +148,7 @@ export default {
|
||||
methods: {
|
||||
closeWindow() {
|
||||
if (this.activeUploads) {
|
||||
this.$dialog.confirm({
|
||||
this.$buefy.dialog.confirm({
|
||||
message: this.lang('Are you sure you want to stop all uploads?'),
|
||||
type: 'is-danger',
|
||||
cancelText: this.lang('Cancel'),
|
||||
|
Reference in New Issue
Block a user