瀏覽代碼

fix app action string message

tags/v0.5.0
Jonathan Cobb 4 年之前
父節點
當前提交
7d9c1c97ba
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      bubble-server/src/main/java/bubble/service/message/AppMessageService.java

+ 2
- 2
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());
}



Loading…
取消
儲存