ru.coon 2.7.61 → 2.7.63

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,13 @@
1
+ # Version 2.7.63, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/3105569cc716302c9533958daa3aef9dbdc0e6a8)
2
+ * ## Fixes
3
+ * <span style='color:red'> BFL-14999: check north panel exists</span> ([cbc17a], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/cbc17a278fd1468539fe081d29fdd3819df51b08))
4
+
5
+ * update: CHANGELOG.md ([27a607], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/27a607ea17c7004bbb6abf65c5dc43543e9bab58))
6
+
7
+ # Version 2.7.62, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/818cd19829cccd21e2889c189d14a6087c03365f)
8
+ * hotfix: HT-9789 ([a4dfa5], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a4dfa58f1654c726de4ccf76c9eb8ad106ee486c))
9
+ * update: CHANGELOG.md ([0fc2a0], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0fc2a028fb4477ca5289ac00ad7494d207164c4e))
10
+
1
11
  # Version 2.7.61, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/3a44ea242fbf93fa58da62cbc436b45b7c2e6639)
2
12
  * ## Features
3
13
  * <span style='color:green'>feat: HT-9600: fix css</span> ([e104df], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/e104df2b5f3ce6c6c15d39dd67dcedcdbfc7804c))
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "name": "ru.coon"
5
5
  },
6
6
  "description": "",
7
- "version": "2.7.61",
7
+ "version": "2.7.63",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+http://gitlab-dbr.sigma-it.local/dbr/ru.coon"
@@ -281,7 +281,7 @@ Ext.define('Coon.report.component.reportpanel.FilterPanel', {
281
281
  const msg = 'Поле заполнено не верно: ' +
282
282
  (component.fieldLabel ? component.fieldLabel : (component.name || component.$className)) +
283
283
  (component.getErrors().length? 'Ошибка:' + component.getErrors()[0]: '');
284
- northPanel.searchButtonToggle(false, msg);
284
+ northPanel && northPanel.searchButtonToggle(false, msg);
285
285
  Coon.log.warn(msg);
286
286
  } else {
287
287
  Coon.log.error('invalid component', component);
@@ -289,7 +289,7 @@ Ext.define('Coon.report.component.reportpanel.FilterPanel', {
289
289
  return false;
290
290
  }
291
291
  }
292
- northPanel.searchButtonToggle(true, '');
292
+ northPanel && northPanel.searchButtonToggle(true, '');
293
293
  return true;
294
294
  },
295
295
 
@@ -131,6 +131,10 @@ Ext.define('Coon.report.component.settings.plugin.ReportToolbarFunctions', {
131
131
  },
132
132
  hasReportToolbarPlugin() {
133
133
  let plugin = false;
134
+ const plugins = this.getViewModel().get('report.plugins');
135
+ if (!plugins || plugins.length === 0) {
136
+ return;
137
+ }
134
138
  this.getViewModel().get('report.plugins').forEach((el) => {
135
139
  if (el.xtype === 'ReportToolbarPlugin') {
136
140
  plugin = el;
@@ -143,6 +147,9 @@ Ext.define('Coon.report.component.settings.plugin.ReportToolbarFunctions', {
143
147
  },
144
148
  updateUBFState() {
145
149
  const plugin = this.hasReportToolbarPlugin();
150
+ if (!plugin) {
151
+ return;
152
+ }
146
153
  const pluginRecord = this.lookup('pluginsGrid').getStore().getById(plugin['id']);
147
154
  if (pluginRecord) {
148
155
  if (plugin !== false && (!this.activeRecord || this.activeRecord.get('xtype') !== 'ReportToolbarPlugin')) {
package/src/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  Ext.define('Coon.version', {
2
2
  singleton: true,
3
- number: '2.7.61',
3
+ number: '2.7.63',
4
4
  });