diff --git a/frontend/app/components/wp-edit/wp-edit-field/wp-edit-field.directive.ts b/frontend/app/components/wp-edit/wp-edit-field/wp-edit-field.directive.ts index 1871b3329a..16d0c4ab0d 100644 --- a/frontend/app/components/wp-edit/wp-edit-field/wp-edit-field.directive.ts +++ b/frontend/app/components/wp-edit/wp-edit-field/wp-edit-field.directive.ts @@ -116,7 +116,7 @@ export class WorkPackageEditFieldController { public set editable(enabled:boolean) { this._editable = enabled; - this.$element.toggleClass('-editable', enabled); + this.$element.toggleClass('-editable', !!enabled); } public shouldFocus() {