diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-16 16:22:51 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-08-17 18:56:39 +0200 |
commit | fdf07fc759f22bcd1f26c7e4fd7f025582cc3519 (patch) | |
tree | 98fa998aedcd46e60e2045ac96650c71c04cd63a /apps/files_versions | |
parent | 9a5b26675c6f14b3b8afa0af27be946b6f5315de (diff) | |
download | nextcloud-server-fdf07fc759f22bcd1f26c7e4fd7f025582cc3519.tar.gz nextcloud-server-fdf07fc759f22bcd1f26c7e4fd7f025582cc3519.zip |
fix(cypress): adjust selectors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files_versions')
-rw-r--r-- | apps/files_versions/src/files_versions_tab.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files_versions/src/files_versions_tab.js b/apps/files_versions/src/files_versions_tab.js index 8b816746401..a341b9009c3 100644 --- a/apps/files_versions/src/files_versions_tab.js +++ b/apps/files_versions/src/files_versions_tab.js @@ -60,6 +60,9 @@ window.addEventListener('DOMContentLoaded', function() { TabInstance.update(fileInfo) }, setIsActive(isActive) { + if (!TabInstance) { + return + } TabInstance.setIsActive(isActive) }, destroy() { |