diff --git a/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.html b/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.html
index 34a41eff9e..865f23a5f0 100644
--- a/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.html
+++ b/ui-ngx/src/app/modules/home/pages/dashboard/dashboard-form.component.html
@@ -66,6 +66,16 @@
{{'dashboard.delete' | translate }}
+
+
+
{
}));
}
+ onDashboardIdCopied($event) {
+ this.store.dispatch(new ActionNotificationShow(
+ {
+ message: this.translate.instant('dashboard.idCopiedMessage'),
+ type: 'success',
+ duration: 750,
+ verticalPosition: 'bottom',
+ horizontalPosition: 'right'
+ }));
+ }
+
private updateFields(entity: Dashboard): void {
if (entity && !isEqual(entity, {})) {
this.assignedCustomersText = getDashboardAssignedCustomersText(entity);
diff --git a/ui-ngx/src/assets/locale/locale.constant-en_US.json b/ui-ngx/src/assets/locale/locale.constant-en_US.json
index 64b3d9475c..6a547a537d 100644
--- a/ui-ngx/src/assets/locale/locale.constant-en_US.json
+++ b/ui-ngx/src/assets/locale/locale.constant-en_US.json
@@ -937,6 +937,8 @@
"assignedToCustomer": "Assigned to customer",
"assignedToCustomers": "Assigned to customers",
"public": "Public",
+ "copyId": "Copy dashboard id",
+ "idCopiedMessage": "Dashboard Id has been copied to clipboard",
"public-link": "Public link",
"copy-public-link": "Copy public link",
"public-link-copied-message": "Dashboard public link has been copied to clipboard",
diff --git a/ui-ngx/src/assets/locale/locale.constant-ru_RU.json b/ui-ngx/src/assets/locale/locale.constant-ru_RU.json
index a4e894e59e..fa56c67271 100644
--- a/ui-ngx/src/assets/locale/locale.constant-ru_RU.json
+++ b/ui-ngx/src/assets/locale/locale.constant-ru_RU.json
@@ -483,6 +483,8 @@
"add-widget": "Добавить новый виджет",
"title": "Название",
"select-widget-title": "Выберите виджет",
+ "copyId": "Копировать идентификатор дашборда",
+ "idCopiedMessage": "Идентификатор дашборда скопирован в буфер обмена",
"select-widget-subtitle": "Список доступных виджетов",
"delete": "Удалить дашборд",
"title-required": "Название обязательно.",
diff --git a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json
index eff83577fd..fe27274d33 100644
--- a/ui-ngx/src/assets/locale/locale.constant-uk_UA.json
+++ b/ui-ngx/src/assets/locale/locale.constant-uk_UA.json
@@ -594,6 +594,8 @@
"add-widget": "Додати новий віджет",
"title": "Назва",
"select-widget-title": "Вибрати віджет",
+ "copyId": "Копіювати ідентифікатор панелі приладів",
+ "idCopiedMessage": "Ідентифікатор панелі приладів скопійовано в буфер обміну",
"select-widget-subtitle": "Список доступних типів віджетів",
"delete": "Видалити панель приладів",
"title-required": "Необхідно задати назву.",