diff options
Diffstat (limited to 'src/client/app/admin/views/instance.vue')
| -rw-r--r-- | src/client/app/admin/views/instance.vue | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/app/admin/views/instance.vue b/src/client/app/admin/views/instance.vue index 2d0fc9b40c..223b3531e8 100644 --- a/src/client/app/admin/views/instance.vue +++ b/src/client/app/admin/views/instance.vue @@ -461,7 +461,7 @@ export default Vue.extend({ iconUrl: this.iconUrl, name: this.name, description: this.description, - langs: this.languages.split(' '), + langs: this.languages ? this.languages.split(' ') : [], cacheRemoteFiles: this.cacheRemoteFiles, localDriveCapacityMb: parseInt(this.localDriveCapacityMb, 10), remoteDriveCapacityMb: parseInt(this.remoteDriveCapacityMb, 10), @@ -490,8 +490,8 @@ export default Vue.extend({ enableServiceWorker: this.enableServiceWorker, swPublicKey: this.swPublicKey, swPrivateKey: this.swPrivateKey, - pinnedUsers: this.pinnedUsers.split('\n'), - hiddenTags: this.hiddenTags.split('\n'), + pinnedUsers: this.pinnedUsers ? this.pinnedUsers.split('\n') : [], + hiddenTags: this.hiddenTags ? this.hiddenTags.split('\n') : [], useObjectStorage: this.useObjectStorage, objectStorageBaseUrl: this.objectStorageBaseUrl ? this.objectStorageBaseUrl : null, objectStorageBucket: this.objectStorageBucket ? this.objectStorageBucket : null, |