ngx-sp-auth 4.6.11 → 4.6.12
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
|
@@ -3346,9 +3346,9 @@ class VersoesModalComponent {
|
|
|
3346
3346
|
// Deve formatar as versões que forem 0 converter para "Base"
|
|
3347
3347
|
this.versions = response.Data?.map(e => {
|
|
3348
3348
|
if (e.Versao === '0')
|
|
3349
|
-
return "Base";
|
|
3349
|
+
return { Projeto: e.Projeto, Versao: "Base" };
|
|
3350
3350
|
else
|
|
3351
|
-
return e.Versao;
|
|
3351
|
+
return { Projeto: e.Projeto, Versao: e.Versao };
|
|
3352
3352
|
});
|
|
3353
3353
|
},
|
|
3354
3354
|
error: error => this._authUtils.showHttpError(error)
|