ru.coon 3.0.39 → 3.0.40

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/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ # Version 3.0.40, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/eebffdf8f042d83590e66cfe7a43fdfabcd80ccb)
2
+ * ## Fixes
3
+ * <span style='color:red'>HT-13864 fix SimpleFilterPlugin find toolbar</span> ([c0ef9c], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/c0ef9c1e766b187b2af5196ac7827c5e78235e18))
4
+
5
+ * update: CHANGELOG.md ([5881f9], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/5881f967085c3b2f6d8ecc4469c3103f2ace1d72))
6
+
1
7
  # Version 3.0.39, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e29f7baa54dc8f31fddecef2ec9c648f70b55ce1)
2
8
  * ## Fixes
3
9
  * <span style='color:red'> titlechange handler parameters</span> ([f79859], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/f79859a64493b3840b268958fc693b405cf0616a))
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "ru.coon"
5
5
  },
6
6
  "description": "",
7
- "version": "3.0.39",
7
+ "version": "3.0.40",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+http://gitlab-dbr.sigma-it.local/dbr/ru.coon"
@@ -73,7 +73,7 @@ Ext.define('Coon.report.plugin.configPanel.SimpleFilterPluginConfigPanelFilterGr
73
73
  },
74
74
  encodeConditions: function(conditions) {
75
75
  return conditions.map((condition) => {
76
- return {value: condition};
76
+ return condition.value ? condition : {value: condition};
77
77
  });
78
78
  },
79
79
  decodeConditions: function(conditions) {
@@ -34,7 +34,7 @@ Ext.define('Coon.report.plugin.grid.SimpleFilterPlugin', {
34
34
  doInit: function(grid) {
35
35
  if (this.valueConfig.length) {
36
36
  this.activeItem = this.valueConfig[0];
37
- const tBar = grid.dockedItems.items.find((item) => item.xtype === 'toolbar' && item.dock === 'top');
37
+ const tBar = grid.dockedItems.items.find((item) => item.isToolbar && item.dock === 'top');
38
38
  if (tBar) {
39
39
  this.filterContainer = this.getFilterContainer(this.valueConfig);
40
40
  if (this.position === 2) {
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  Ext.define('Coon.version', {
2
2
  singleton: true,
3
- number: '3.0.39',
3
+ number: '3.0.40',
4
4
  });