Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion REUSE.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ SPDX-FileCopyrightText = "2023 Nextcloud GmbH and Nextcloud contributors"
SPDX-License-Identifier = "AGPL-3.0-or-later"

[[annotations]]
path = ["img/app-dark.svg", "img/app.svg", "img/deny.svg", "img/folder-group.svg"]
path = ["img/app-dark.svg", "img/app.svg", "img/deny.svg"]
precedence = "aggregate"
SPDX-FileCopyrightText = "2018-2024 Google LLC"
SPDX-License-Identifier = "Apache-2.0"
Expand Down
1 change: 0 additions & 1 deletion img/folder-group.svg

This file was deleted.

7 changes: 0 additions & 7 deletions src/files.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { generateUrl, imagePath } from '@nextcloud/router'
import { initFilesClient } from './client.js'

// eslint-disable-next-line
Expand All @@ -11,12 +10,6 @@ __webpack_nonce__ = btoa(OC.requestToken)
__webpack_public_path__ = OC.linkTo('groupfolders', 'js/')

window.addEventListener('DOMContentLoaded', () => {
if (OCA.Theming) {
OC.MimeType._mimeTypeIcons['dir-group'] = generateUrl('/apps/theming/img/groupfolders/folder-group.svg?v=' + OCA.Theming.cacheBuster)
} else {
OC.MimeType._mimeTypeIcons['dir-group'] = imagePath('groupfolders', 'folder-group')
}

if (!OCA?.Sharing?.ShareTabSections) {
return
}
Expand Down
Loading