mirror of
https://github.com/nextcloud/richdocuments.git
synced 2025-12-18 05:20:43 +01:00
Merge pull request #4671 from nextcloud/fix/wopi-callback-url-browsersetting
fix: load `wopi_callback_url` from initial state into config service
This commit is contained in:
commit
3cdeaae885
1 changed files with 4 additions and 1 deletions
|
|
@ -9,7 +9,10 @@ class ConfigService {
|
||||||
private values: {[name: string]: any}
|
private values: {[name: string]: any}
|
||||||
|
|
||||||
constructor() {
|
constructor() {
|
||||||
this.values = loadState('richdocuments', 'document', {})
|
this.values = {
|
||||||
|
wopi_callback_url: loadState('richdocuments', 'wopi_callback_url', ''),
|
||||||
|
...loadState('richdocuments', 'document', {}),
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
update(key: string, value: any) {
|
update(key: string, value: any) {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue