@davoodmehraban89 / Factor-easy / commits / 78a5473
Fork 0

سامانه صدور فاکتور و حسابداری

fix(auth): surface missing extension failure without exposing workspace

davoodmehraban89 committed Oct 13, 2026 at 01:02 UTC 78a5473df7c01f6dfafc9f7e8798f2e39ba6231a
1 file changed +2
js/core.js
+2
@@ -61,7 +61,9 @@ let authBusy=false;
61 // Authentication starts independently of the optional ERP modules.
62 let finoraAppAssetsResolve,finoraAppAssetsReject;
63 window.FinoraAppAssetsReady=new Promise((resolve,reject)=>{finoraAppAssetsResolve=resolve;finoraAppAssetsReject=reject;});
64 +window.FinoraAppAssetsReady.catch(()=>{});
65 window.finoraMarkAppAssetsReady=()=>finoraAppAssetsResolve();
66 +window.finoraMarkAppAssetsFailed=()=>finoraAppAssetsReject(new Error('FINORA_APP_ASSETS_UNAVAILABLE'));
67 window.FinoraStartupStatus={authFormReady:false,authSessionChecked:false,authChecked:false,extensionsReady:false};
68 function setAuthLoginStatus(message,state){
69 const el=document.getElementById('auth-login-status');