@enso-ui/notifications 2.0.12 → 2.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enso-ui/notifications",
3
- "version": "2.0.12",
3
+ "version": "2.0.13",
4
4
  "description": "Basic notifications package",
5
5
  "main": "src/bulma/pages/Index.vue",
6
6
  "scripts": {
@@ -4,7 +4,7 @@
4
4
  <div class="level is-mobile">
5
5
  <div class="level-item"
6
6
  v-if="notifications.length">
7
- <a class="button is-success is-outlined"
7
+ <a class="button is-success"
8
8
  @click="readAll">
9
9
  <span>{{ i18n("Mark all read") }}</span>
10
10
  <span class="icon is-small">
@@ -25,7 +25,7 @@
25
25
  </div>
26
26
  <div class="level-item is-marginless"
27
27
  v-if="notifications.length">
28
- <a class="button is-warning is-outlined ml-1"
28
+ <a class="button is-warning ml-1"
29
29
  @click="destroyAll">
30
30
  <span>{{ i18n("Clear all") }}</span>
31
31
  <span class="icon is-small">
@@ -154,7 +154,7 @@ export default {
154
154
  },
155
155
  updateAll() {
156
156
  this.notifications.forEach(notification => {
157
- notification.read_at = notification.read_at || format(new Date(), 'Y-MM-DD H:mm:s');
157
+ notification.read_at = notification.read_at || format(new Date(), 'Y-M-D H:i:s');
158
158
  });
159
159
 
160
160
  this.unreadCount = 0;