From ff5eeff28371726883b1fa2708f9dcf2952d905e Mon Sep 17 00:00:00 2001 From: Timothy Worcester Date: Fri, 6 Aug 2021 11:15:35 -0400 Subject: [PATCH] GUACAMOLE-1396: Update comment block to have correct array type for actions field --- .../src/app/notification/services/guacNotification.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guacamole/src/main/frontend/src/app/notification/services/guacNotification.js b/guacamole/src/main/frontend/src/app/notification/services/guacNotification.js index b52f42146..22eeed630 100644 --- a/guacamole/src/main/frontend/src/app/notification/services/guacNotification.js +++ b/guacamole/src/main/frontend/src/app/notification/services/guacNotification.js @@ -77,12 +77,12 @@ angular.module('notification').factory('guacNotification', ['$injector', * 'text' : { * 'key' : 'NAMESPACE.SOME_TRANSLATION_KEY' * }, - * 'actions' : { + * 'actions' : [{ * 'name' : 'reconnect', * 'callback' : function () { * // Reconnection code goes here * } - * } + * }] * }); * * // To hide the status message