mirror of
https://github.com/wekan/wekan.git
synced 2025-12-20 09:20:12 +01:00
Ensure we subscribe to currentSettings in login view
This commit is contained in:
parent
f190a102f9
commit
bda166ba50
1 changed files with 7 additions and 0 deletions
|
|
@ -35,6 +35,13 @@ Template.userFormsLayout.onCreated(function () {
|
||||||
Meteor.loginWithOidc(options);
|
Meteor.loginWithOidc(options);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Meteor.subscribe('setting', {
|
||||||
|
onReady() {
|
||||||
|
templateInstance.currentSetting.set(ReactiveCache.getCurrentSetting());
|
||||||
|
return this.stop();
|
||||||
|
},
|
||||||
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue