From e4412d289511f81c42b98acf08ea222a7945852d Mon Sep 17 00:00:00 2001 From: Amardeepsingh Siglani Date: Mon, 20 Nov 2023 22:37:19 -0800 Subject: [PATCH] Fix fetching of channels for composite monitors (#820) * fixed incorrect use of this.props Signed-off-by: Amardeepsingh Siglani * resolved dependency conflict Signed-off-by: Amardeepsingh Siglani * updated babel config Signed-off-by: Amardeepsingh Siglani --------- Signed-off-by: Amardeepsingh Siglani --- .../DefineCompositeLevelTrigger/TriggerNotifications.js | 2 +- yarn.lock | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/pages/CreateTrigger/containers/DefineCompositeLevelTrigger/TriggerNotifications.js b/public/pages/CreateTrigger/containers/DefineCompositeLevelTrigger/TriggerNotifications.js index e275a7d13..901a5717e 100644 --- a/public/pages/CreateTrigger/containers/DefineCompositeLevelTrigger/TriggerNotifications.js +++ b/public/pages/CreateTrigger/containers/DefineCompositeLevelTrigger/TriggerNotifications.js @@ -51,7 +51,7 @@ const TriggerNotifications = ({ let channels = []; let index = 0; const getChannels = async () => { - const config_types = await this.props.notificationService.getServerFeatures(); + const config_types = await notificationService.getServerFeatures(); const getChannelsQuery = { from_index: index, max_items: MAX_CHANNELS_RESULT_SIZE, diff --git a/yarn.lock b/yarn.lock index 7b667b550..050908e59 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1503,9 +1503,9 @@ date-fns@^1.27.2: integrity sha512-hBSVCvSmWC+QypYObzwGOd9wqdDpOt+0wl0KbU+R+uuZBS1jN8VsD1ss3irQDknRj5NvxiTF6oj/nDRnN/UQNw== dayjs@^1.9.3: - version "1.11.7" - resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.7.tgz#4b296922642f70999544d1144a2c25730fce63e2" - integrity sha512-+Yw9U6YO5TQohxLcIkrXBeY73WP3ejHWVvx8XCk3gxvQDCTEmS48ZrSZCKciI7Bhl/uCMyxYtE9UqRILmFphkQ== + version "1.11.10" + resolved "https://registry.yarnpkg.com/dayjs/-/dayjs-1.11.10.tgz#68acea85317a6e164457d6d6947564029a6a16a0" + integrity sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ== debug@4.3.2: version "4.3.2"