Skip to content

Commit

Permalink
refactor(files_sharing): add another user search input in external sh…
Browse files Browse the repository at this point in the history
…are section

Allow share creation in the newly differentiated share section.

Intermediate change: to preserve functionality; this needs to be
differentiated with the next commits.

Refs: #48925
  • Loading branch information
thlehmann-ionos authored and nfebe committed Jan 20, 2025
1 parent 544b80a commit 0139e57
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions apps/files_sharing/src/views/SharingTab.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
</ul>

<h3>Internal shares</h3>

<!-- TODO: component must either be configurable or diffentiated into two -->
<!-- add new share input -->
<SharingInput v-if="!loading"
:can-reshare="canReshare"
Expand Down Expand Up @@ -64,6 +66,22 @@
:file-info="fileInfo"
:shares="linkShares"
@open-sharing-details="toggleShareDetailsView" />

<!-- TODO: component must either be configurable or diffentiated into two -->
<!-- add new email/federated share input -->
<SharingInput v-if="!loading"
:can-reshare="canReshare"
:file-info="fileInfo"
:link-shares="linkShares"
:reshare="reshare"
:shares="shares"
@open-sharing-details="toggleShareDetailsView" />

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

<!-- additional entries, use it with cautious -->
Expand Down

0 comments on commit 0139e57

Please sign in to comment.