Skip to content

Commit

Permalink
refactor(files_sharing): move deprecated projects component
Browse files Browse the repository at this point in the history
Primarily to move it out of the way for changes in the source location.

The feature was deprecated in version 25 (#28320), five versions ago.

Refs: #48925
  • Loading branch information
thlehmann-ionos authored and nfebe committed Jan 22, 2025
1 parent 240ab78 commit bbc3cb9
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions apps/files_sharing/src/views/SharingTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@

<!-- internal link copy -->
<SharingEntryInternal :file-info="fileInfo" />

<!-- projects -->
<CollectionList v-if="projectsEnabled && fileInfo"
:id="`${fileInfo.id}`"
type="file"
:name="fileInfo.name" />
</div>

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

<!-- projects (deprecated as of NC25 (replaced by related_resources) - see instance config "projects.enabled" ; ignore this / remove it / move into own section) -->
<div v-show="!showSharingDetailsView && projectsEnabled && fileInfo"
class="sharingTab__additionalContent">
<CollectionList
:id="`${fileInfo.id}`"
type="file"
:name="fileInfo.name" />
</div>

<!-- share details -->
<SharingDetailsTab v-if="showSharingDetailsView"
:file-info="shareDetailsData.fileInfo"
Expand Down

0 comments on commit bbc3cb9

Please sign in to comment.