|
@@ -23,6 +23,8 @@ const validator = {
|
|
|
},
|
|
|
};
|
|
|
|
|
|
+// let isSettingDatabaseFctCallDone = false;
|
|
|
+
|
|
|
Template.userFormsLayout.onCreated(function() {
|
|
|
const templateInstance = this;
|
|
|
templateInstance.currentSetting = new ReactiveVar();
|
|
@@ -37,6 +39,12 @@ Template.userFormsLayout.onCreated(function() {
|
|
|
let htmlvalue = "<i class='fa fa-oidc'></i>" + currSetting.oidcBtnText;
|
|
|
oidcBtnElt.html(htmlvalue);
|
|
|
}
|
|
|
+
|
|
|
+ // isSettingDatabaseFctCallDone = true;
|
|
|
+ if(currSetting && currSetting !== undefined && currSetting.customLoginLogoImageUrl !== undefined)
|
|
|
+ document.getElementById("isSettingDatabaseCallDone").style.display = 'none';
|
|
|
+ else
|
|
|
+ document.getElementById("isSettingDatabaseCallDone").style.display = 'block';
|
|
|
return this.stop();
|
|
|
},
|
|
|
});
|
|
@@ -65,6 +73,10 @@ Template.userFormsLayout.helpers({
|
|
|
return Template.instance().currentSetting.get();
|
|
|
},
|
|
|
|
|
|
+ // isSettingDatabaseCallDone(){
|
|
|
+ // return isSettingDatabaseFctCallDone;
|
|
|
+ // },
|
|
|
+
|
|
|
isLoading() {
|
|
|
return Template.instance().isLoading.get();
|
|
|
},
|