diff --git a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html
index 17aa367e..2063a3da 100644
--- a/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html
+++ b/projects/ucap-webmessenger-app/src/app/layouts/native/components/top-bar.component.html
@@ -335,8 +335,12 @@
@@ -353,8 +358,12 @@
@@ -371,8 +381,12 @@
diff --git a/projects/ucap-webmessenger-ui/src/lib/components/inline-edit-input.component.ts b/projects/ucap-webmessenger-ui/src/lib/components/inline-edit-input.component.ts
index 56ea1bbd..633108a5 100644
--- a/projects/ucap-webmessenger-ui/src/lib/components/inline-edit-input.component.ts
+++ b/projects/ucap-webmessenger-ui/src/lib/components/inline-edit-input.component.ts
@@ -7,7 +7,11 @@ import { Component, OnInit, Output, EventEmitter } from '@angular/core';
})
export class InlineEditInputComponent implements OnInit {
@Output()
- apply = new EventEmitter();
+ edit = new EventEmitter();
+ @Output()
+ cancel = new EventEmitter();
+ @Output()
+ apply = new EventEmitter();
get editMode() {
return this._editMode;
@@ -24,14 +28,16 @@ export class InlineEditInputComponent implements OnInit {
onClickEdit(event: Event) {
this.editMode = true;
+ this.edit.emit(event);
}
onClickCancel(event: Event) {
this.editMode = false;
+ this.cancel.emit(event);
}
onClickApply(event: Event) {
this.editMode = false;
- this.apply.emit();
+ this.apply.emit(event);
}
}