Skip to content

Commit d97d759

Browse files
skjnldsvnpmbuildbot[bot]
authored andcommitted
Fix theming chaining
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
1 parent 8fbfb2f commit d97d759

File tree

4 files changed

+6
-5
lines changed

4 files changed

+6
-5
lines changed

.eslintrc.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ module.exports = {
33
appVersion: true,
44
isTesting: true,
55
PLYR_ICONS: true,
6+
oc_defaults: true,
67
},
78
extends: [
89
'@nextcloud',
910
],
10-
};
11+
}

js/viewer-main.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

js/viewer-main.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/views/Viewer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,7 @@ export default {
455455
},
456456
457457
updateTitle(fileName) {
458-
document.title = `${fileName} - ${OCA.Theming.name}`
458+
document.title = `${fileName} - ${OCA.Theming?.name || oc_defaults.name}`
459459
},
460460
461461
/**

0 commit comments

Comments
 (0)