+
+ {this.props.customFooter ? this.props.customFooter() : null}
+
{
- this.props.actions.map((prop, index) => {
- return this.renderActionButton(prop, index);
- })
+ this.props.actions ?
+ this.props.actions.map((prop, index) => {
+ return this.renderActionButton(prop, index);
+ }) : null
}
;
diff --git a/source/Localization/EN-US.ts b/source/Localization/EN-US.ts
index 9e858c0..124c4f1 100644
--- a/source/Localization/EN-US.ts
+++ b/source/Localization/EN-US.ts
@@ -54,6 +54,7 @@ const EN_US = {
"Popup.Setting.Title": "Preferences setting",
"Popup.Add.Behavior.Title": "Add behavior",
"Popup.Add.Behavior.Action.Add": "Add all select behavior",
+ "Popup.Add.Behavior.Select.Counter": "Selected {count} behavior",
"Popup.Behavior.Info.Title": "Behavior details: {behavior}",
"Popup.Behavior.Info.Confirm": "OK, I know it",
"Build.In.Label.Name.All.Group": "All group",
diff --git a/source/Localization/ZH-CN.ts b/source/Localization/ZH-CN.ts
index 1283176..3495892 100644
--- a/source/Localization/ZH-CN.ts
+++ b/source/Localization/ZH-CN.ts
@@ -54,6 +54,7 @@ const ZH_CN = {
"Popup.Setting.Title": "首选项设置",
"Popup.Add.Behavior.Title": "添加行为",
"Popup.Add.Behavior.Action.Add": "添加全部选中行为",
+ "Popup.Add.Behavior.Select.Counter": "已选择 {count} 个行为",
"Popup.Behavior.Info.Title": "行为详情: {behavior}",
"Popup.Behavior.Info.Confirm": "好的, 我知道了",
"Build.In.Label.Name.All.Group": "全部群",