@shockers/node-red-plugin-grouped-flows 0.1.30 → 0.1.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/grouped-flows.html +8 -4
- package/package.json +1 -1
package/grouped-flows.html
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"use strict";
|
|
4
4
|
|
|
5
5
|
var PLUGIN_ID = "nr-grouped-flows";
|
|
6
|
-
var PLUGIN_VERSION = "0.1.
|
|
6
|
+
var PLUGIN_VERSION = "0.1.31";
|
|
7
7
|
var ORIGINAL_UL_ID = "red-ui-workspace-tabs";
|
|
8
8
|
var CONTAINER_ID = "nr-grouped-flows";
|
|
9
9
|
var GROUPS_UL_ID = "nr-grouped-flows-groups";
|
|
@@ -967,8 +967,10 @@
|
|
|
967
967
|
if (!workspace || !input.length) {
|
|
968
968
|
return;
|
|
969
969
|
}
|
|
970
|
-
|
|
971
|
-
var oldValue = normalizeGroupName(
|
|
970
|
+
|
|
971
|
+
var oldValue = normalizeGroupName(
|
|
972
|
+
workspace[WORKSPACE_GROUP_PROPERTY] || getPersistedGroup(workspaceId)
|
|
973
|
+
);
|
|
972
974
|
var newValue = normalizeGroupName(input.val());
|
|
973
975
|
if (newValue === oldValue) {
|
|
974
976
|
return;
|
|
@@ -1039,7 +1041,9 @@
|
|
|
1039
1041
|
}
|
|
1040
1042
|
}
|
|
1041
1043
|
|
|
1042
|
-
row.find("#" + DIALOG_GROUP_INPUT_ID).val(
|
|
1044
|
+
row.find("#" + DIALOG_GROUP_INPUT_ID).val(
|
|
1045
|
+
normalizeGroupName(workspace[WORKSPACE_GROUP_PROPERTY] || getPersistedGroup(workspaceId))
|
|
1046
|
+
);
|
|
1043
1047
|
bindDialogGroupSave(workspaceId, form);
|
|
1044
1048
|
return true;
|
|
1045
1049
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shockers/node-red-plugin-grouped-flows",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.31",
|
|
4
4
|
"description": "Replaces the built-in Node-RED flows tab bar with a grouped two-tier tab bar to improve navigation of large Node-RED environments.",
|
|
5
5
|
"author": "Sven Hockers",
|
|
6
6
|
"license": "Apache-2.0",
|