diff options
Diffstat (limited to 'apps/files_sharing/src/sharebreadcrumbview.js')
-rw-r--r-- | apps/files_sharing/src/sharebreadcrumbview.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_sharing/src/sharebreadcrumbview.js b/apps/files_sharing/src/sharebreadcrumbview.js index 063881e2fe0..68ea75d4df9 100644 --- a/apps/files_sharing/src/sharebreadcrumbview.js +++ b/apps/files_sharing/src/sharebreadcrumbview.js @@ -3,7 +3,7 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ -import { Type as ShareTypes } from '@nextcloud/sharing' +import { ShareType } from '@nextcloud/sharing' (function() { 'use strict' @@ -23,7 +23,7 @@ import { Type as ShareTypes } from '@nextcloud/sharing' this.$el.removeClass('shared icon-public icon-shared') if (isShared) { this.$el.addClass('shared') - if (data.dirInfo.shareTypes.indexOf(ShareTypes.SHARE_TYPE_LINK) !== -1) { + if (data.dirInfo.shareTypes.indexOf(ShareType.Link) !== -1) { this.$el.addClass('icon-public') } else { this.$el.addClass('icon-shared') |