iptdevs-design-system 3.1.977 → 3.1.979
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/esm2020/lib/components/forms/update-user-form/update-user-form.component.mjs +5 -2
- package/fesm2015/iptdevs-design-system.mjs +5 -2
- package/fesm2015/iptdevs-design-system.mjs.map +1 -1
- package/fesm2020/iptdevs-design-system.mjs +4 -1
- package/fesm2020/iptdevs-design-system.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -1889,7 +1889,8 @@ class updateUserFormComponent {
|
|
|
1889
1889
|
}
|
|
1890
1890
|
ngOnInit() {
|
|
1891
1891
|
this.getParameters();
|
|
1892
|
-
|
|
1892
|
+
this.trackIdTypeChanges();
|
|
1893
|
+
this.setJustifyOptions();
|
|
1893
1894
|
}
|
|
1894
1895
|
ngOnChanges(changes) {
|
|
1895
1896
|
if (changes['visibleModal'] && changes['visibleModal'].currentValue) {
|
|
@@ -1919,6 +1920,7 @@ class updateUserFormComponent {
|
|
|
1919
1920
|
{ name: 'Pausado proceso', code: 3 },
|
|
1920
1921
|
{ name: 'Removido', code: 4 }
|
|
1921
1922
|
];
|
|
1923
|
+
this.updateUserForm.get('status')?.disable({ emitEvent: false });
|
|
1922
1924
|
}
|
|
1923
1925
|
else {
|
|
1924
1926
|
// Lista reducida para otros roles
|
|
@@ -1926,6 +1928,7 @@ class updateUserFormComponent {
|
|
|
1926
1928
|
{ name: 'Activo', code: 1 },
|
|
1927
1929
|
{ name: 'Removido', code: 4 }
|
|
1928
1930
|
];
|
|
1931
|
+
this.updateUserForm.get('status')?.enable({ emitEvent: false });
|
|
1929
1932
|
}
|
|
1930
1933
|
}
|
|
1931
1934
|
getParameters() {
|