ngx-sp-auth 4.6.13 → 4.6.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/fesm2022/ngx-sp-auth.mjs
CHANGED
|
@@ -3345,7 +3345,7 @@ class VersoesModalComponent {
|
|
|
3345
3345
|
console.log(response);
|
|
3346
3346
|
// Deve formatar as versões que forem 0 converter para "Base"
|
|
3347
3347
|
this.versions = response.Data?.map(e => {
|
|
3348
|
-
if (e.Versao === '0')
|
|
3348
|
+
if (e.Versao === '0' || e.Versao === '' || e.Versao === null || e.Versao === undefined)
|
|
3349
3349
|
return { Projeto: e.Projeto, Versao: "Base" };
|
|
3350
3350
|
else
|
|
3351
3351
|
return { Projeto: e.Projeto, Versao: e.Versao };
|