mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
remote upload demo functionality
This commit is contained in:
@@ -80,6 +80,18 @@ export default {
|
||||
.replace(/^(?=\n)$|^\s*|\s*$|\n\n+/gm, "")
|
||||
.split(/\r?\n/)
|
||||
|
||||
// If demo, return success message
|
||||
if (this.$store.getters.config.isDemo) {
|
||||
events.$emit('toaster', {
|
||||
type: 'success',
|
||||
message: i18n.t('remote_download_finished'),
|
||||
})
|
||||
|
||||
events.$emit('popup:close')
|
||||
|
||||
return
|
||||
}
|
||||
|
||||
// If broadcasting
|
||||
if (this.$store.getters.isBroadcasting) {
|
||||
this.$store.commit('UPDATE_REMOTE_UPLOAD_QUEUE', {
|
||||
|
||||
Reference in New Issue
Block a user