@plusscommunities/pluss-core-aws 2.0.17 → 2.0.18

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.
@@ -8,18 +8,33 @@ module.exports = (noti) => {
8
8
  thisNoti.Text = `Your request is ${noti.Data.status}`;
9
9
  thisNoti.Subtext = noti.Data.title || noti.Data.description;
10
10
  thisNoti.Icon = "wrench";
11
+ if (type.indexOf("Forms") > -1) {
12
+ thisNoti.Icon = "file-text-o";
13
+ thisNoti.Text = `Your form is ${noti.Data.status}`;
14
+ }
11
15
  } else if (type.startsWith("MaintenanceJobAssigned")) {
12
16
  thisNoti.Text = `You have been assigned a request`;
13
17
  thisNoti.Subtext = noti.Data.title || noti.Data.description;
14
18
  thisNoti.Icon = "wrench";
19
+ if (type.indexOf("Forms") > -1) {
20
+ thisNoti.Icon = "file-text-o";
21
+ thisNoti.Text = `You have been assigned a form`;
22
+ }
15
23
  } else if (type.startsWith("MaintenanceJobUnassigned")) {
16
24
  thisNoti.Text = `A request you were assigned has been reassigned`;
17
25
  thisNoti.Subtext = noti.Data.title || noti.Data.description;
18
26
  thisNoti.Icon = "wrench";
27
+ if (type.indexOf("Forms") > -1) {
28
+ thisNoti.Icon = "file-text-o";
29
+ thisNoti.Text = `A form you were assigned has been reassigned`;
30
+ }
19
31
  } else if (type.startsWith("MaintenanceJobCommented")) {
20
32
  thisNoti.Text = noti.Data.comment;
21
33
  thisNoti.Subtext = noti.Data.title || noti.Data.description;
22
34
  thisNoti.Icon = "wrench";
35
+ if (type.indexOf("Forms") > -1) {
36
+ thisNoti.Icon = "file-text-o";
37
+ }
23
38
  } else if (type.startsWith("EntityCommented")) {
24
39
  thisNoti.Text = noti.Data.comment;
25
40
  thisNoti.Subtext = noti.Data.title || noti.Data.description;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plusscommunities/pluss-core-aws",
3
- "version": "2.0.17",
3
+ "version": "2.0.18",
4
4
  "description": "Core extension package for Pluss Communities platform",
5
5
  "scripts": {
6
6
  "betapatch": "npm version prepatch --preid=beta",