RED-8648: added missing method after cherry pick.

This commit is contained in:
Nicoleta Panaghiu 2024-03-20 16:21:11 +02:00
parent be143566a6
commit ea7033b394

View File

@ -69,6 +69,10 @@ export class FileAttributeComponent extends BaseFormComponent implements OnDestr
return this.width ? `${this.width * this.#widthFactor}px` : 'unset';
}
get attributeValueWidth(): string {
return this.width ? `${this.width * 0.9}px` : 'unset';
}
get isDate(): boolean {
return this.fileAttribute.type === FileAttributeConfigTypes.DATE;
}