Fixes
This commit is contained in:
parent
d46d42c05f
commit
cf288b916b
@ -38,7 +38,7 @@ export class EditDossierAttributesComponent implements EditDossierSectionInterfa
|
||||
|
||||
get changed() {
|
||||
for (const attr of this.attributes) {
|
||||
if (this.isDate(attr)) {
|
||||
if (this.isDate(attr) && attr.value) {
|
||||
if (!moment(attr.value).isSame(moment(this.currentAttrValue(attr)))) {
|
||||
return true;
|
||||
}
|
||||
|
||||
@ -38,7 +38,7 @@ export class InitialsAvatarComponent extends AutoUnsubscribe implements OnChange
|
||||
}
|
||||
|
||||
get disabled(): boolean {
|
||||
return !this.user?.isActive;
|
||||
return this.user && !this.user?.isActive;
|
||||
}
|
||||
|
||||
private get _colorClass() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user