ru.coon 2.7.61 → 2.7.62

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,7 @@
1
+ # Version 2.7.62, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/818cd19829cccd21e2889c189d14a6087c03365f)
2
+ * hotfix: HT-9789 ([a4dfa5], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/a4dfa58f1654c726de4ccf76c9eb8ad106ee486c))
3
+ * update: CHANGELOG.md ([0fc2a0], [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/0fc2a028fb4477ca5289ac00ad7494d207164c4e))
4
+
1
5
  # Version 2.7.61, [link](http://gitlab-dbr.sigma-it.local/dbr/ru.coon/-/commit/3a44ea242fbf93fa58da62cbc436b45b7c2e6639)
2
6
  * ## Features
3
7
  * <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.62",
8
8
  "repository": {
9
9
  "type": "git",
10
10
  "url": "git+http://gitlab-dbr.sigma-it.local/dbr/ru.coon"
@@ -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.62',
4
4
  });