Skip to content

Commit 3ebab0d

Browse files
refactor(files_sharing): move deprecated projects component
Primarily to move it out of the way for changes in the source location. The feature was deprecated in version 25 (nextcloud#28320), five versions ago. Refs: nextcloud#48925
1 parent c9073f7 commit 3ebab0d

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

apps/files_sharing/src/views/SharingTab.vue

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@
5454

5555
<!-- internal link copy -->
5656
<SharingEntryInternal :file-info="fileInfo" />
57-
58-
<!-- projects -->
59-
<CollectionList v-if="projectsEnabled && fileInfo"
60-
:id="`${fileInfo.id}`"
61-
type="file"
62-
:name="fileInfo.name" />
6357
</div>
6458

6559
<!-- additional entries, use it with cautious -->
@@ -71,6 +65,15 @@
7165
<component :is="section($refs['section-'+index], fileInfo)" :file-info="fileInfo" />
7266
</div>
7367

68+
<!-- projects (deprecated as of NC25 (replaced by related_resources) - see instance config "projects.enabled" ; ignore this / remove it / move into own section) -->
69+
<div v-show="!showSharingDetailsView && projectsEnabled && fileInfo"
70+
class="sharingTab__additionalContent">
71+
<CollectionList
72+
:id="`${fileInfo.id}`"
73+
type="file"
74+
:name="fileInfo.name" />
75+
</div>
76+
7477
<!-- share details -->
7578
<SharingDetailsTab v-if="showSharingDetailsView"
7679
:file-info="shareDetailsData.fileInfo"

0 commit comments

Comments
 (0)