|
@@ -404,6 +404,12 @@ export default {
|
|
* @return {boolean}
|
|
* @return {boolean}
|
|
*/
|
|
*/
|
|
isSetDownloadButtonVisible() {
|
|
isSetDownloadButtonVisible() {
|
|
|
|
+ // TODO: Implement download permission for circle shares instead of hiding the option.
|
|
|
|
+ // https://github.com/nextcloud/server/issues/39161
|
|
|
|
+ if (this.share && this.share.type === this.SHARE_TYPES.SHARE_TYPE_CIRCLE) {
|
|
|
|
+ return false
|
|
|
|
+ }
|
|
|
|
+
|
|
const allowedMimetypes = [
|
|
const allowedMimetypes = [
|
|
// Office documents
|
|
// Office documents
|
|
'application/msword',
|
|
'application/msword',
|