fix(frontend) prevent notification showing Object Object EE-1745 (#5778)

* fix(frontend) prevent notification showing Object Object EE-1745

* fix(frontend) fix notification args in wrong order EE-1745

* fix(rbac) add metrics rbac for regular users EE-1745

Co-authored-by: Simon Meng <simon.meng@portainer.io>
This commit is contained in:
cong meng
2021-10-12 10:37:07 +13:00
committed by GitHub
parent d93d88fead
commit 6a67e8142d
11 changed files with 45 additions and 35 deletions
@@ -68,7 +68,7 @@ angular.module('portainer.docker').controller('ServicesDatatableActionsControlle
Notifications.success('Service successfully updated', service.Name);
})
.catch(function error(err) {
Notifications.error('Failure', err, 'Unable to force update service', service.Name);
Notifications.error('Failure', err, 'Unable to force update service' + service.Name);
})
.finally(function final() {
--actionCount;