possibility of adding a custom legal notice page url

This commit is contained in:
Emile NDAGIJIMANA 2021-11-25 19:30:49 +01:00
parent 16bb65f7c7
commit 8662fd59fb
9 changed files with 43 additions and 3 deletions

View file

@ -77,6 +77,15 @@ Template.userFormsLayout.helpers({
// return isSettingDatabaseFctCallDone;
// },
isLegalNoticeLinkExist(){
const currSet = Template.instance().currentSetting.get();
if(currSet && currSet !== undefined && currSet != null){
return currSet.legalNotice !== undefined && currSet.legalNotice.trim() != "";
}
else
return false;
},
isLoading() {
return Template.instance().isLoading.get();
},