Skip to content

Commit

Permalink
Disabled public box box link for now
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas ONeil <[email protected]>
  • Loading branch information
loneil committed Mar 27, 2023
1 parent 3af3dbb commit 793af62
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions frontend/src/components/object/share/ShareObjectButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,12 +72,6 @@ onMounted( () => {
</ul>

<TabView>
<TabPanel header="BCBox share link">
<ShareLinkContent
:share-link="bcBoxLink"
label="Share Link"
/>
</TabPanel>
<TabPanel
v-if="obj?.public"
header="Direct public file link"
Expand All @@ -87,6 +81,16 @@ onMounted( () => {
label="Direct Link"
/>
</TabPanel>
<!-- Disable for public until unauthed File Details page works -->
<TabPanel
header="BCBox share link"
:disabled="obj?.public"
>
<ShareLinkContent
:share-link="bcBoxLink"
label="Share Link"
/>
</TabPanel>
</TabView>
</Dialog>

Expand Down

0 comments on commit 793af62

Please sign in to comment.