mirror of
https://github.com/wekan/wekan.git
synced 2025-12-18 00:10:13 +01:00
removing Utils.getCurrentSetting() and use ReactiveCache directly
This commit is contained in:
parent
a8c071f04c
commit
875442f1ce
8 changed files with 17 additions and 17 deletions
|
|
@ -1,3 +1,5 @@
|
|||
import { ReactiveCache } from '/imports/reactiveCache';
|
||||
|
||||
Meteor.subscribe('setting');
|
||||
|
||||
import { ALLOWED_WAIT_SPINNERS } from '/config/const';
|
||||
|
|
@ -9,7 +11,7 @@ export class Spinner extends BlazeComponent {
|
|||
if (defaultWaitSpinner && ALLOWED_WAIT_SPINNERS.includes(defaultWaitSpinner)) {
|
||||
ret = defaultWaitSpinner;
|
||||
}
|
||||
let settings = Utils.getCurrentSetting();
|
||||
let settings = ReactiveCache.getCurrentSetting();
|
||||
|
||||
if (settings && settings.spinnerName) {
|
||||
ret = settings.spinnerName;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue