diff options
| author | MeiMei <30769358+mei23@users.noreply.github.com> | 2020-08-13 20:05:01 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-13 20:05:01 +0900 |
| commit | ee0a44559040e83ce7d184bef57372f9c3602a75 (patch) | |
| tree | fae0ffb3e17753ae1856bbc1751b7b1cc618abb4 /src/client | |
| parent | WIP: Improve admin dashboard (diff) | |
| download | sharkey-ee0a44559040e83ce7d184bef57372f9c3602a75.tar.gz sharkey-ee0a44559040e83ce7d184bef57372f9c3602a75.tar.bz2 sharkey-ee0a44559040e83ce7d184bef57372f9c3602a75.zip | |
Option objectStorageSetPublicRead (#6645)
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/pages/instance/settings.vue | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/client/pages/instance/settings.vue b/src/client/pages/instance/settings.vue index 8318807d43..0c0e506ab8 100644 --- a/src/client/pages/instance/settings.vue +++ b/src/client/pages/instance/settings.vue @@ -161,6 +161,7 @@ </div> <mk-switch v-model="objectStorageUseSSL" :disabled="!useObjectStorage">{{ $t('objectStorageUseSSL') }}<template #desc>{{ $t('objectStorageUseSSLDesc') }}</template></mk-switch> <mk-switch v-model="objectStorageUseProxy" :disabled="!useObjectStorage">{{ $t('objectStorageUseProxy') }}<template #desc>{{ $t('objectStorageUseProxyDesc') }}</template></mk-switch> + <mk-switch v-model="objectStorageSetPublicRead" :disabled="!useObjectStorage">{{ $t('objectStorageSetPublicRead') }}</mk-switch> </template> </div> <div class="_footer"> @@ -306,6 +307,7 @@ export default Vue.extend({ objectStorageSecretKey: null, objectStorageUseSSL: false, objectStorageUseProxy: false, + objectStorageSetPublicRead: false, enableTwitterIntegration: false, twitterConsumerKey: null, twitterConsumerSecret: null, @@ -373,6 +375,7 @@ export default Vue.extend({ this.objectStorageSecretKey = this.meta.objectStorageSecretKey; this.objectStorageUseSSL = this.meta.objectStorageUseSSL; this.objectStorageUseProxy = this.meta.objectStorageUseProxy; + this.objectStorageSetPublicRead = this.meta.objectStorageSetPublicRead; this.enableTwitterIntegration = this.meta.enableTwitterIntegration; this.twitterConsumerKey = this.meta.twitterConsumerKey; this.twitterConsumerSecret = this.meta.twitterConsumerSecret; @@ -522,6 +525,7 @@ export default Vue.extend({ objectStorageSecretKey: this.objectStorageSecretKey ? this.objectStorageSecretKey : null, objectStorageUseSSL: this.objectStorageUseSSL, objectStorageUseProxy: this.objectStorageUseProxy, + objectStorageSetPublicRead: this.objectStorageSetPublicRead, enableTwitterIntegration: this.enableTwitterIntegration, twitterConsumerKey: this.twitterConsumerKey, twitterConsumerSecret: this.twitterConsumerSecret, |