From 7d9c1c97babf595828b23f152c719192f7eb7f2b Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Sat, 1 Feb 2020 11:50:47 -0500 Subject: [PATCH] fix app action string message --- .../main/java/bubble/service/message/AppMessageService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bubble-server/src/main/java/bubble/service/message/AppMessageService.java b/bubble-server/src/main/java/bubble/service/message/AppMessageService.java index 07a4431a..c02490c6 100644 --- a/bubble-server/src/main/java/bubble/service/message/AppMessageService.java +++ b/bubble-server/src/main/java/bubble/service/message/AppMessageService.java @@ -100,11 +100,11 @@ public class AppMessageService { if (configView.hasActions()) { for (AppConfigAction action : configView.getActions()) { - final String actionKey = cfgKeyPrefix + MSG_SUFFIX_ACTION + action; + final String actionKey = cfgKeyPrefix + MSG_SUFFIX_ACTION + action.getName(); if (!props.containsKey(actionKey)) props.setProperty(actionKey, action.getName()); if (action.hasButton()) { - final String buttonKey = cfgKeyPrefix + MSG_SUFFIX_BUTTON + action; + final String buttonKey = cfgKeyPrefix + MSG_SUFFIX_BUTTON + action.getName(); if (!props.containsKey(buttonKey)) props.setProperty(buttonKey, action.getButton()); }