Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Edit button displayed twice in a shared file preview mode - EXO-74839. #2427

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

akhanfir
Copy link
Contributor

Before this change, when open link of shared file in a new tab, two edit buttons are displayed in the opened preview page. To resolve this problem, make a condition on the edit button insertion to ensure that it is inserted only once. After this change, only one edit button is displayed and no reload page.

…74839.

Before this change, when open link of shared file in a new tab, two edit buttons are displayed in the opened preview page. To resolve this problem, make a condition on the edit button insertion to ensure that it is inserted only once. After this change, only one edit button is displayed and no reload page.
@akhanfir akhanfir requested a review from mkrout November 13, 2024 08:09
@akhanfir akhanfir enabled auto-merge (squash) November 13, 2024 08:09
@github-actions github-actions bot added the partialCIBuild Perform Partial CI Build label Nov 13, 2024
@akhanfir akhanfir merged commit 0e622c9 into feature/maintenance Nov 13, 2024
4 checks passed
@akhanfir akhanfir deleted the TASK-74839 branch November 13, 2024 08:12
Copy link

sonarcloud bot commented Nov 13, 2024

Jihed525 pushed a commit that referenced this pull request Nov 13, 2024
…74839. (#2427)

Before this change, when open link of shared file in a new tab, two edit buttons are displayed in the opened preview page. To resolve this problem, make a condition on the edit button insertion to ensure that it is inserted only once. After this change, only one edit button is displayed and no reload page.

(cherry picked from commit 0e622c9)
Jihed525 pushed a commit that referenced this pull request Nov 13, 2024
…74839. (#2427)

Before this change, when open link of shared file in a new tab, two edit buttons are displayed in the opened preview page. To resolve this problem, make a condition on the edit button insertion to ensure that it is inserted only once. After this change, only one edit button is displayed and no reload page.

(cherry picked from commit 0e622c9)
Jihed525 pushed a commit that referenced this pull request Nov 13, 2024
…74839. (#2427)

Before this change, when open link of shared file in a new tab, two edit buttons are displayed in the opened preview page. To resolve this problem, make a condition on the edit button insertion to ensure that it is inserted only once. After this change, only one edit button is displayed and no reload page.

(cherry picked from commit 0e622c9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
partialCIBuild Perform Partial CI Build
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants