@truedat/audit 7.5.7 → 7.5.10

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.
Files changed (65) hide show
  1. package/package.json +45 -71
  2. package/src/components/ContentFilters.js +3 -1
  3. package/src/components/NotificationEvent.js +2 -2
  4. package/src/components/NotificationsMenu.js +2 -10
  5. package/src/components/ShareLinkForm.js +33 -32
  6. package/src/components/ShareLinkPopup.js +1 -1
  7. package/src/components/Subscription.js +0 -1
  8. package/src/components/SubscriptionActions.js +1 -2
  9. package/src/components/SubscriptionCrumbs.js +2 -3
  10. package/src/components/SubscriptionEdit.js +0 -1
  11. package/src/components/SubscriptionForm.js +305 -310
  12. package/src/components/SubscriptionLoader.js +2 -2
  13. package/src/components/SubscriptionNew.js +0 -1
  14. package/src/components/SubscriptionRoutes.js +58 -56
  15. package/src/components/SubscriptionWatchForm.js +0 -1
  16. package/src/components/Subscriptions.js +4 -7
  17. package/src/components/SubscriptionsLoader.js +1 -1
  18. package/src/components/__tests__/NotificationEvent.spec.js +1 -4
  19. package/src/components/__tests__/NotificationsMenu.spec.js +0 -1
  20. package/src/components/__tests__/ShareLinkForm.spec.js +23 -17
  21. package/src/components/__tests__/ShareLinkPopup.spec.js +0 -1
  22. package/src/components/__tests__/Subscription.spec.js +0 -1
  23. package/src/components/__tests__/SubscriptionActions.spec.js +0 -1
  24. package/src/components/__tests__/SubscriptionCrumbs.spec.js +5 -5
  25. package/src/components/__tests__/SubscriptionEdit.spec.js +9 -8
  26. package/src/components/__tests__/SubscriptionForm.spec.js +141 -125
  27. package/src/components/__tests__/SubscriptionLoader.spec.js +0 -1
  28. package/src/components/__tests__/SubscriptionNew.spec.js +5 -5
  29. package/src/components/__tests__/SubscriptionRoutes.spec.js +44 -6
  30. package/src/components/__tests__/SubscriptionWatchForm.spec.js +37 -34
  31. package/src/components/__tests__/Subscriptions.spec.js +0 -1
  32. package/src/components/__tests__/SubscriptionsLoader.spec.js +0 -1
  33. package/src/components/__tests__/__snapshots__/NotificationEvent.spec.js.snap +6 -6
  34. package/src/components/__tests__/__snapshots__/NotificationsMenu.spec.js.snap +7 -7
  35. package/src/components/__tests__/__snapshots__/ShareLinkForm.spec.js.snap +6 -6
  36. package/src/components/__tests__/__snapshots__/Subscription.spec.js.snap +4 -5
  37. package/src/components/__tests__/__snapshots__/SubscriptionActions.spec.js.snap +0 -1
  38. package/src/components/__tests__/__snapshots__/SubscriptionCrumbs.spec.js.snap +20 -30
  39. package/src/components/__tests__/__snapshots__/SubscriptionEdit.spec.js.snap +75 -25
  40. package/src/components/__tests__/__snapshots__/SubscriptionForm.spec.js.snap +23 -23
  41. package/src/components/__tests__/__snapshots__/SubscriptionNew.spec.js.snap +64 -25
  42. package/src/components/__tests__/__snapshots__/SubscriptionRoutes.spec.js.snap +710 -23
  43. package/src/components/__tests__/__snapshots__/SubscriptionWatchForm.spec.js.snap +83 -80
  44. package/src/components/__tests__/__snapshots__/Subscriptions.spec.js.snap +28 -37
  45. package/src/index.js +1 -2
  46. package/src/reducers/__tests__/auditMessage.spec.js +3 -3
  47. package/src/reducers/__tests__/auditRedirect.spec.js +2 -2
  48. package/src/reducers/__tests__/events.spec.js +1 -1
  49. package/src/reducers/__tests__/searchSubscription.spec.js +5 -5
  50. package/src/reducers/__tests__/subscription.spec.js +1 -1
  51. package/src/reducers/__tests__/subscriptionUpdating.spec.js +6 -6
  52. package/src/reducers/__tests__/subscriptions.spec.js +1 -1
  53. package/src/reducers/auditMessage.js +1 -1
  54. package/src/reducers/events.js +1 -1
  55. package/src/sagas/__tests__/deleteSubscription.spec.js +7 -7
  56. package/src/sagas/__tests__/fetchSubscription.spec.js +2 -2
  57. package/src/sagas/__tests__/readNotification.spec.js +2 -2
  58. package/src/sagas/__tests__/updateSubscription.spec.js +8 -8
  59. package/src/sagas/createSubscription.js +3 -3
  60. package/src/sagas/deleteSubscription.js +1 -1
  61. package/src/sagas/readNotification.js +1 -1
  62. package/src/sagas/updateSubscription.js +4 -4
  63. package/src/selectors/__tests__/getRecipients.spec.js +0 -32
  64. package/src/selectors/getRecipients.js +0 -34
  65. package/src/selectors/index.js +0 -1
@@ -1,90 +1,93 @@
1
1
  // Jest Snapshot v1, https://goo.gl/fbAQLP
2
2
 
3
3
  exports[`<SubscriptionWatchForm /> matches the latest snapshot 1`] = `
4
- <Form
5
- as="form"
6
- >
7
- <FormField>
8
- <label>
9
- <MemoizedFormattedMessage
10
- id="subscriptions.periodicity"
11
- />
12
- </label>
13
- </FormField>
14
- <FormField>
15
- <Radio
16
- checked={false}
17
- label={
4
+ <div>
5
+ <form
6
+ class="ui form"
7
+ >
8
+ <div
9
+ class="field"
10
+ >
11
+ <label>
12
+ subscriptions.periodicity
13
+ </label>
14
+ </div>
15
+ <div
16
+ class="field"
17
+ >
18
+ <div
19
+ class="ui radio checkbox"
20
+ >
21
+ <input
22
+ class="hidden"
23
+ name="periodicity"
24
+ readonly=""
25
+ tabindex="0"
26
+ type="radio"
27
+ value="minutely"
28
+ />
18
29
  <label>
19
- <Memo(MemoizedFormattedMessage)
20
- id="subscriptions.periodicity.minutely"
21
- />
30
+ subscriptions.periodicity.minutely
22
31
  </label>
23
- }
24
- name="periodicity"
25
- onChange={[MockFunction]}
26
- type="radio"
27
- value="minutely"
28
- />
29
- </FormField>
30
- <FormField>
31
- <Radio
32
- checked={false}
33
- label={
32
+ </div>
33
+ </div>
34
+ <div
35
+ class="field"
36
+ >
37
+ <div
38
+ class="ui radio checkbox"
39
+ >
40
+ <input
41
+ class="hidden"
42
+ name="periodicity"
43
+ readonly=""
44
+ tabindex="0"
45
+ type="radio"
46
+ value="hourly"
47
+ />
34
48
  <label>
35
- <Memo(MemoizedFormattedMessage)
36
- id="subscriptions.periodicity.hourly"
37
- />
49
+ subscriptions.periodicity.hourly
38
50
  </label>
39
- }
40
- name="periodicity"
41
- onChange={[MockFunction]}
42
- type="radio"
43
- value="hourly"
44
- />
45
- </FormField>
46
- <FormField>
47
- <Radio
48
- checked={true}
49
- label={
51
+ </div>
52
+ </div>
53
+ <div
54
+ class="field"
55
+ >
56
+ <div
57
+ class="ui checked radio checkbox"
58
+ >
59
+ <input
60
+ checked=""
61
+ class="hidden"
62
+ name="periodicity"
63
+ readonly=""
64
+ tabindex="0"
65
+ type="radio"
66
+ value="daily"
67
+ />
50
68
  <label>
51
- <Memo(MemoizedFormattedMessage)
52
- id="subscriptions.periodicity.daily"
53
- />
69
+ subscriptions.periodicity.daily
54
70
  </label>
55
- }
56
- name="periodicity"
57
- onChange={[MockFunction]}
58
- type="radio"
59
- value="daily"
60
- />
61
- </FormField>
62
- <div>
63
- <Button
64
- as="button"
65
- disabled={false}
66
- loading={false}
67
- onClick={[MockFunction]}
68
- type="submit"
69
- >
70
- <MemoizedFormattedMessage
71
- id="actions.save"
72
- />
73
- </Button>
74
- <Button
75
- as="button"
76
- onClick={[MockFunction]}
77
- type="submit"
78
- >
79
- <Icon
80
- as="i"
81
- color="red"
82
- name="trash alternate outline"
83
- />
84
- <MemoizedFormattedMessage
85
- id="ruleSubscription.actions.remove"
86
- />
87
- </Button>
88
- </div>
89
- </Form>
71
+ </div>
72
+ </div>
73
+ <div>
74
+ <button
75
+ class="ui button"
76
+ type="submit"
77
+ >
78
+ actions.save
79
+ </button>
80
+ <button
81
+ class="ui button"
82
+ type="submit"
83
+ >
84
+ <i
85
+ aria-hidden="true"
86
+ class="red trash alternate outline icon"
87
+ />
88
+ ruleSubscription.actions.remove
89
+ </button>
90
+ </div>
91
+ </form>
92
+ </div>
90
93
  `;
@@ -10,10 +10,11 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
10
10
  >
11
11
  <a
12
12
  class="ui primary button"
13
+ data-discover="true"
13
14
  href="/subscriptions/new"
14
15
  role="button"
15
16
  >
16
- New Subscription
17
+ subscriptions.actions.create
17
18
  </a>
18
19
  <i
19
20
  aria-hidden="true"
@@ -22,11 +23,11 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
22
23
  <div
23
24
  class="content"
24
25
  >
25
- Subscriptions
26
+ subscriptions.header
26
27
  <div
27
28
  class="sub header"
28
29
  >
29
- Manage current subscriptions
30
+ subscriptions.subheader
30
31
  </div>
31
32
  </div>
32
33
  </h2>
@@ -36,13 +37,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
36
37
  <h5
37
38
  class="ui header"
38
39
  >
39
- Filters
40
+ subscriptions.filters
40
41
  </h5>
41
42
  <div
42
43
  class="field subscriptions-checkbox-filters"
43
44
  >
44
45
  <label>
45
- Subscriber
46
+ subscriptions.subscriber
46
47
  </label>
47
48
  <div
48
49
  class="ui checked checkbox"
@@ -53,14 +54,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
53
54
  readonly=""
54
55
  tabindex="0"
55
56
  type="checkbox"
56
- value=""
57
57
  />
58
58
  <label>
59
59
  <i
60
60
  aria-hidden="true"
61
61
  class="student icon"
62
62
  />
63
- Role
63
+ role
64
64
  </label>
65
65
  </div>
66
66
  <div
@@ -72,14 +72,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
72
72
  readonly=""
73
73
  tabindex="0"
74
74
  type="checkbox"
75
- value=""
76
75
  />
77
76
  <label>
78
77
  <i
79
78
  aria-hidden="true"
80
79
  class="envelope icon"
81
80
  />
82
- Email
81
+ email
83
82
  </label>
84
83
  </div>
85
84
  <div
@@ -91,14 +90,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
91
90
  readonly=""
92
91
  tabindex="0"
93
92
  type="checkbox"
94
- value=""
95
93
  />
96
94
  <label>
97
95
  <i
98
96
  aria-hidden="true"
99
97
  class="user icon"
100
98
  />
101
- User
99
+ user
102
100
  </label>
103
101
  </div>
104
102
  <div
@@ -110,14 +108,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
110
108
  readonly=""
111
109
  tabindex="0"
112
110
  type="checkbox"
113
- value=""
114
111
  />
115
112
  <label>
116
113
  <i
117
114
  aria-hidden="true"
118
115
  class="student icon"
119
116
  />
120
- Role in taxonomy
117
+ taxonomy_role
121
118
  </label>
122
119
  </div>
123
120
  </div>
@@ -125,7 +122,7 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
125
122
  class="field subscriptions-checkbox-filters"
126
123
  >
127
124
  <label>
128
- Resource
125
+ subscriptions.resource
129
126
  </label>
130
127
  <div
131
128
  class="ui checked checkbox"
@@ -136,14 +133,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
136
133
  readonly=""
137
134
  tabindex="0"
138
135
  type="checkbox"
139
- value=""
140
136
  />
141
137
  <label>
142
138
  <i
143
139
  aria-hidden="true"
144
140
  class="block layout icon"
145
141
  />
146
- Structure
142
+ data_structure
147
143
  </label>
148
144
  </div>
149
145
  <div
@@ -155,14 +151,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
155
151
  readonly=""
156
152
  tabindex="0"
157
153
  type="checkbox"
158
- value=""
159
154
  />
160
155
  <label>
161
156
  <i
162
157
  aria-hidden="true"
163
158
  class="sitemap icon"
164
159
  />
165
- Domain
160
+ domain
166
161
  </label>
167
162
  </div>
168
163
  <div
@@ -174,14 +169,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
174
169
  readonly=""
175
170
  tabindex="0"
176
171
  type="checkbox"
177
- value=""
178
172
  />
179
173
  <label>
180
174
  <i
181
175
  aria-hidden="true"
182
176
  class="sitemap icon"
183
177
  />
184
- Domain and children
178
+ domains
185
179
  </label>
186
180
  </div>
187
181
  <div
@@ -193,14 +187,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
193
187
  readonly=""
194
188
  tabindex="0"
195
189
  type="checkbox"
196
- value=""
197
190
  />
198
191
  <label>
199
192
  <i
200
193
  aria-hidden="true"
201
194
  class="book icon"
202
195
  />
203
- Concept
196
+ concept
204
197
  </label>
205
198
  </div>
206
199
  <div
@@ -212,14 +205,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
212
205
  readonly=""
213
206
  tabindex="0"
214
207
  type="checkbox"
215
- value=""
216
208
  />
217
209
  <label>
218
210
  <i
219
211
  aria-hidden="true"
220
212
  class="clipboard check icon"
221
213
  />
222
- Quality Rule
214
+ rule
223
215
  </label>
224
216
  </div>
225
217
  <div
@@ -231,14 +223,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
231
223
  readonly=""
232
224
  tabindex="0"
233
225
  type="checkbox"
234
- value=""
235
226
  />
236
227
  <label>
237
228
  <i
238
229
  aria-hidden="true"
239
230
  class="tags icon"
240
231
  />
241
- Quality Implementation
232
+ implementation
242
233
  </label>
243
234
  </div>
244
235
  <div
@@ -250,14 +241,13 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
250
241
  readonly=""
251
242
  tabindex="0"
252
243
  type="checkbox"
253
- value=""
254
244
  />
255
245
  <label>
256
246
  <i
257
247
  aria-hidden="true"
258
248
  class="plug icon"
259
249
  />
260
- Source
250
+ source
261
251
  </label>
262
252
  </div>
263
253
  </div>
@@ -265,7 +255,7 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
265
255
  <div
266
256
  class="ui label rules-label-results"
267
257
  >
268
- 2 subscriptions found
258
+ subscriptions.retrieved.results
269
259
  </div>
270
260
  <table
271
261
  class="ui selectable table subscription-table"
@@ -279,17 +269,17 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
279
269
  <th
280
270
  class=""
281
271
  >
282
- Subscriber
272
+ subscriptions.subscriber
283
273
  </th>
284
274
  <th
285
275
  class=""
286
276
  >
287
- Resource
277
+ subscriptions.resource
288
278
  </th>
289
279
  <th
290
280
  class=""
291
281
  >
292
- Notifications periodicity
282
+ subscriptions.periodicity
293
283
  </th>
294
284
  </tr>
295
285
  </thead>
@@ -319,7 +309,7 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
319
309
  <td
320
310
  class=""
321
311
  >
322
- Immediately
312
+ minutely
323
313
  </td>
324
314
  </tr>
325
315
  <tr
@@ -345,7 +335,7 @@ exports[`<Subscriptions /> matches the latest snapshot 1`] = `
345
335
  <td
346
336
  class=""
347
337
  >
348
- Hourly
338
+ hourly
349
339
  </td>
350
340
  </tr>
351
341
  </tbody>
@@ -361,10 +351,11 @@ exports[`<SubscriptionsHeader /> matches the latest snapshot 1`] = `
361
351
  >
362
352
  <a
363
353
  class="ui primary button"
354
+ data-discover="true"
364
355
  href="/subscriptions/new"
365
356
  role="button"
366
357
  >
367
- New Subscription
358
+ subscriptions.actions.create
368
359
  </a>
369
360
  <i
370
361
  aria-hidden="true"
@@ -373,11 +364,11 @@ exports[`<SubscriptionsHeader /> matches the latest snapshot 1`] = `
373
364
  <div
374
365
  class="content"
375
366
  >
376
- Subscriptions
367
+ subscriptions.header
377
368
  <div
378
369
  class="sub header"
379
370
  >
380
- Manage current subscriptions
371
+ subscriptions.subheader
381
372
  </div>
382
373
  </div>
383
374
  </h2>
package/src/index.js CHANGED
@@ -3,6 +3,5 @@ import * as messages from "./messages";
3
3
  import * as reducers from "./reducers";
4
4
  import * as routines from "./routines";
5
5
  import * as sagas from "./sagas";
6
- import * as selectors from "./selectors";
7
6
 
8
- export { components, messages, reducers, routines, sagas, selectors };
7
+ export { components, messages, reducers, routines, sagas };
@@ -15,15 +15,15 @@ describe("reducers: auditMessage", () => {
15
15
  auditMessage(fooState, {
16
16
  type: createNotification.SUCCESS,
17
17
  payload: {
18
- status: 200
19
- }
18
+ status: 200,
19
+ },
20
20
  })
21
21
  ).toEqual({
22
22
  error: false,
23
23
  header: "share.success.header",
24
24
  content: "share.success.content",
25
25
  icon: "check",
26
- color: "green"
26
+ color: "green",
27
27
  });
28
28
  });
29
29
  });
@@ -3,12 +3,12 @@ import {
3
3
  clearRedirect,
4
4
  createSubscription,
5
5
  deleteSubscription,
6
- updateSubscription
6
+ updateSubscription,
7
7
  } from "@truedat/core/routines";
8
8
  import { auditRedirect } from "..";
9
9
 
10
10
  describe("reducers: auditRedirect", () => {
11
- const id = 1;
11
+ const id = "1";
12
12
  const redirect = "redirectUrl";
13
13
  const payload = { redirect, data: { data: { id } } };
14
14
  const initialState = "";
@@ -20,7 +20,7 @@ describe("reducers: events", () => {
20
20
  const user = { foo: "foo" };
21
21
  const data = [
22
22
  { id: 1, service: "foo", resource_id: 2, user },
23
- { id: 2, service: "bar", resource_id: 2, user }
23
+ { id: 2, service: "bar", resource_id: 2, user },
24
24
  ];
25
25
  const payload = { data };
26
26
  expect(
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  searchSubscriptions,
3
- clearSubscriptionsSearch
3
+ clearSubscriptionsSearch,
4
4
  } from "@truedat/core/routines";
5
5
  import { searchSubscription } from "..";
6
6
 
@@ -27,20 +27,20 @@ describe("reducers: searchSubscription", () => {
27
27
  status: ["warn"],
28
28
  events: ["rule_result_created"],
29
29
  resource_id: 2,
30
- resource_type: "rule"
30
+ resource_type: "rule",
31
31
  },
32
32
  subscriber: {
33
33
  id: 3,
34
34
  identifier: "2",
35
- type: "user"
36
- }
35
+ type: "user",
36
+ },
37
37
  };
38
38
  const payload = { data: [subs] };
39
39
 
40
40
  expect(
41
41
  searchSubscription(fooState, {
42
42
  type: searchSubscriptions.SUCCESS,
43
- payload
43
+ payload,
44
44
  })
45
45
  ).toMatchObject(subs);
46
46
  });
@@ -23,7 +23,7 @@ describe("reducers: subscription", () => {
23
23
  it("should handle the fetchSubscription.SUCCESS action", () => {
24
24
  const data = [
25
25
  { id: 1, bar: "foo" },
26
- { id: 2, baz: "bar" }
26
+ { id: 2, baz: "bar" },
27
27
  ];
28
28
  const payload = { data };
29
29
  expect(
@@ -11,7 +11,7 @@ describe("reducers: ruleSubscriptionLoading", () => {
11
11
  it("should be true after receiving the createSubscription.TRIGGER action", () => {
12
12
  expect(
13
13
  subscriptionUpdating(false, {
14
- type: createSubscription.TRIGGER
14
+ type: createSubscription.TRIGGER,
15
15
  })
16
16
  ).toBe(true);
17
17
  });
@@ -19,7 +19,7 @@ describe("reducers: ruleSubscriptionLoading", () => {
19
19
  it("should be false after receiving the createSubscription.SUCCESS action", () => {
20
20
  expect(
21
21
  subscriptionUpdating(true, {
22
- type: createSubscription.SUCCESS
22
+ type: createSubscription.SUCCESS,
23
23
  })
24
24
  ).toBe(false);
25
25
  });
@@ -27,7 +27,7 @@ describe("reducers: ruleSubscriptionLoading", () => {
27
27
  it("should be false after receiving the createSubscription.FAILURE action", () => {
28
28
  expect(
29
29
  subscriptionUpdating(true, {
30
- type: createSubscription.FAILURE
30
+ type: createSubscription.FAILURE,
31
31
  })
32
32
  ).toBe(false);
33
33
  });
@@ -35,7 +35,7 @@ describe("reducers: ruleSubscriptionLoading", () => {
35
35
  it("should be true after receiving the updateSubscription.TRIGGER action", () => {
36
36
  expect(
37
37
  subscriptionUpdating(false, {
38
- type: updateSubscription.TRIGGER
38
+ type: updateSubscription.TRIGGER,
39
39
  })
40
40
  ).toBe(true);
41
41
  });
@@ -43,7 +43,7 @@ describe("reducers: ruleSubscriptionLoading", () => {
43
43
  it("should be false after receiving the updateSubscription.SUCCESS action", () => {
44
44
  expect(
45
45
  subscriptionUpdating(true, {
46
- type: updateSubscription.SUCCESS
46
+ type: updateSubscription.SUCCESS,
47
47
  })
48
48
  ).toBe(false);
49
49
  });
@@ -51,7 +51,7 @@ describe("reducers: ruleSubscriptionLoading", () => {
51
51
  it("should be false after receiving the updateSubscription.FAILURE action", () => {
52
52
  expect(
53
53
  subscriptionUpdating(true, {
54
- type: updateSubscription.FAILURE
54
+ type: updateSubscription.FAILURE,
55
55
  })
56
56
  ).toBe(false);
57
57
  });
@@ -23,7 +23,7 @@ describe("reducers: subscriptions", () => {
23
23
  it("should handle the fetchSubscriptions.SUCCESS action", () => {
24
24
  const data = [
25
25
  { id: 1, bar: "foo" },
26
- { id: 2, baz: "bar" }
26
+ { id: 2, baz: "bar" },
27
27
  ];
28
28
  const payload = { data };
29
29
  expect(
@@ -11,7 +11,7 @@ const auditMessage = (state = initialState, { type }) => {
11
11
  header: "share.success.header",
12
12
  content: "share.success.content",
13
13
  icon: "check",
14
- color: "green"
14
+ color: "green",
15
15
  };
16
16
  case dismissAlert.TRIGGER:
17
17
  return initialState;
@@ -11,7 +11,7 @@ const pickFields = _.pick([
11
11
  "user_id",
12
12
  "user_name",
13
13
  "user",
14
- "ts"
14
+ "ts",
15
15
  ]);
16
16
 
17
17
  export const initialState = [];