ru.coon 3.0.35 → 3.0.36

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.36, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/40c95d2ae72db0bbbaa47fbb52214675f55191d8)
2
+ * ## Fixes
3
+ * <span style='color:red'> set report title from menuItem</span> ([0ec778], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0ec7785c8a7f95d0dc526a2ebf2158d5b909ae37))
4
+
5
+ * update: CHANGELOG.md ([95db76], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/95db76f2de40dffe5234077ad45e37c5002274be))
6
+
1
7
  # Version 3.0.35, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/7a19e14dc7ee05b45d26a463a8231def99b9eeac)
2
8
  * ## Fixes
3
9
  * <span style='color:red'>NEVA-947 fix UiCustomPanel reloadFrame</span> ([0e8fac], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0e8fac5d472e8eb77bfedc36c6e5f98b01527cf7))
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "ru.coon"
5
5
  },
6
6
  "description": "",
7
- "version": "3.0.35",
7
+ "version": "3.0.36",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+http://gitlab-dbr.sigma-it.local/dbr/ru.coon"
@@ -48,6 +48,7 @@ Ext.define('Coon.common.ComponentFactory', {
48
48
  if (!id || !menuItem) {
49
49
  return new Error('не задан id у пункта меню или id невалидный');
50
50
  }
51
+ const title = menuItem.MENU_ENTRY_DESCR;
51
52
  const uiElementCd = menuItem.UI_ELEMENT_CD;
52
53
  const cacheKey = JSON.stringify({uiElementCd, params});
53
54
  const cachedComponent = useCache && this.cache.get(cacheKey);
@@ -92,6 +93,8 @@ Ext.define('Coon.common.ComponentFactory', {
92
93
  if (config.xtype === 'ReportPanel') {
93
94
  Object.assign(config, {
94
95
  filterDefaults,
96
+ title,
97
+ fixedTitle: true,
95
98
  listeners: {
96
99
  activatecomponent: this.onActivateComponent.bind(
97
100
  this,
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  Ext.define('Coon.version', {
2
2
  singleton: true,
3
- number: '3.0.35',
3
+ number: '3.0.36',
4
4
  });