Skip to content

Commit cb96515

Browse files
committed
fixup! Add OCA.Files.Settings for Files Settings
Signed-off-by: Gary Kim <gary@garykim.dev>
1 parent 8000f92 commit cb96515

3 files changed

Lines changed: 9 additions & 9 deletions

File tree

apps/files/js/dist/files-app-settings.js

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

apps/files/js/dist/files-app-settings.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.

apps/files/src/files-app-settings.js

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,14 @@ import Setting from './models/Setting'
2828

2929
Vue.prototype.t = t
3030

31-
window.addEventListener('DOMContentLoaded', () => {
32-
// Init Files App Settings Service
33-
if (!window.OCA.Files) {
34-
window.OCA.Files = {}
35-
}
36-
Object.assign(window.OCA.Files, { Settings: new Settings() })
37-
Object.assign(window.OCA.Files.Settings, { Setting })
31+
// Init Files App Settings Service
32+
if (!window.OCA.Files) {
33+
window.OCA.Files = {}
34+
}
35+
Object.assign(window.OCA.Files, { Settings: new Settings() })
36+
Object.assign(window.OCA.Files.Settings, { Setting })
3837

38+
window.addEventListener('DOMContentLoaded', () => {
3939
// Init Vue app
4040
// eslint-disable-next-line
4141
new Vue({

0 commit comments

Comments
 (0)