Skip to content

Commit

Permalink
Bugfix: Disable expiration date alias link followup (#10085)
Browse files Browse the repository at this point in the history
* Bugfix: Disable expiration date alias link followup

* Add to changelog

* Fix missing padding
  • Loading branch information
lookacat authored Nov 29, 2023
1 parent db5f399 commit 4fd1da2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ We've disabled the option to set an expiration date on an internal link,
since it could be misleading and doesn't serve any use.

https://github.com/owncloud/web/pull/10083
https://github.com/owncloud/web/pull/10085
https://github.com/owncloud/web/issues/9923
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@
padding-size="small"
mode="click"
>
<oc-list class="edit-public-link-dropdown-menu oc-files-context-actions-border oc-pb-s">
<oc-list
v-if="editOptions.length > 0"
class="edit-public-link-dropdown-menu oc-pb-s oc-files-context-actions-border"
>
<li
v-for="(option, i) in editOptions"
:key="`public-link-edit-option-${i}`"
Expand Down Expand Up @@ -121,7 +124,10 @@
</oc-button>
</li>
</oc-list>
<oc-list class="edit-public-link-dropdown-menu oc-pt-s">
<oc-list
class="edit-public-link-dropdown-menu"
:class="{ 'oc-pt-s': editOptions.length > 0 }"
>
<li class="oc-rounded oc-menu-item-hover">
<oc-button
appearance="raw"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ exports[`DetailsAndEdit component if user can edit renders dropdown and edit but
<oc-icon-stub accessiblelabel="" color="" filltype="fill" name="more-2" size="medium" type="span" variation="passive"></oc-icon-stub>
</oc-button-stub>
<oc-drop-stub closeonclick="false" dropid="edit-public-link-dropdown" isnested="false" mode="click" paddingsize="small" position="bottom-start" toggle="#edit-public-link-dropdown-toggl-undefined">
<oc-list-stub class="edit-public-link-dropdown-menu oc-files-context-actions-border oc-pb-s" raw="false">
<oc-list-stub class="edit-public-link-dropdown-menu oc-pb-s oc-files-context-actions-border" raw="false">
<li class="oc-rounded oc-menu-item-hover">
<oc-button-stub appearance="raw" class="oc-p-s action-menu-item" disabled="false" gapsize="medium" justifycontent="center" showspinner="false" size="medium" submit="button" type="button" variation="passive">
<oc-icon-stub accessiblelabel="" color="" filltype="line" name="pencil" size="medium" type="span" variation="passive"></oc-icon-stub>
Expand Down

0 comments on commit 4fd1da2

Please sign in to comment.