@projectcaluma/ember-distribution 1.0.0-beta.14 → 1.0.0-beta.15

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,11 @@
1
+ # [@projectcaluma/ember-distribution-v1.0.0-beta.15](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-distribution-v1.0.0-beta.14...@projectcaluma/ember-distribution-v1.0.0-beta.15) (2022-07-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **distribution:** include fetch service dependency ([841c233](https://github.com/projectcaluma/ember-caluma/commit/841c23320f07968a8181bfc9273f592652049516))
7
+ * **distribution:** only show permission info for suspended inquiries ([bd594f8](https://github.com/projectcaluma/ember-caluma/commit/bd594f8ac026af8bf0579dc947862710363ac028))
8
+
1
9
  # [@projectcaluma/ember-distribution-v1.0.0-beta.14](https://github.com/projectcaluma/ember-caluma/compare/@projectcaluma/ember-distribution-v1.0.0-beta.13...@projectcaluma/ember-distribution-v1.0.0-beta.14) (2022-07-06)
2
10
 
3
11
 
@@ -15,8 +15,12 @@
15
15
  />
16
16
 
17
17
  <hr />
18
-
19
- {{#if (cannot "send inquiry" this.inquiry)}}
18
+ {{#if
19
+ (and
20
+ (cannot "send inquiry" this.inquiry)
21
+ (eq this.inquiry.status "SUSPENDED")
22
+ )
23
+ }}
20
24
  <div class="uk-alert uk-alert-warning uk-flex uk-flex-middle">
21
25
  <UkIcon @icon="warning" class="uk-margin-small-right" />
22
26
  {{t "caluma.distribution.edit.send-not-allowed"}}
package/addon/engine.js CHANGED
@@ -17,6 +17,7 @@ export default class DistributionEngine extends Engine {
17
17
  "intl",
18
18
  "caluma-options",
19
19
  "store", // this is just in case that a custom form widget uses the store
20
+ "fetch",
20
21
  ],
21
22
  };
22
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@projectcaluma/ember-distribution",
3
- "version": "1.0.0-beta.14",
3
+ "version": "1.0.0-beta.15",
4
4
  "description": "Ember engine for the Caluma distribution module.",
5
5
  "keywords": [
6
6
  "ember-addon",