refactor: rename View into Section to keep coherence

This commit is contained in:
Edouard Vanbelle
2026-04-02 20:44:06 +02:00
parent 8d2a45c0ff
commit db30639823
4 changed files with 30 additions and 28 deletions
+2 -2
View File
@@ -188,8 +188,8 @@ const fileSharing = {
const span = item.querySelector('span');
if (span && span.getAttribute('data-i18n') === 'nav.shared') {
item.addEventListener('click', () => {
if (window.switchToSharedView) {
window.switchToSharedView();
if (window.switchToSharedSection) {
window.switchToSharedSection();
}
});
}