sprintify-ui 0.5.10 → 0.5.11

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.
@@ -45469,7 +45469,7 @@ const IL = /* @__PURE__ */ Qn(RL, [["__scopeId", "data-v-ee03d0ec"]]), NL = { cl
45469
45469
  ], 2)
45470
45470
  ]),
45471
45471
  items: Ce(() => [
45472
- (B(!0), Q(tt, null, dt(n.notificationsConfig.items, (p) => (B(), Le(r4, {
45472
+ (B(!0), Q(tt, null, dt(n.notificationsConfig.items.slice(0, 4), (p) => (B(), Le(r4, {
45473
45473
  key: p.id + "link",
45474
45474
  notification: p,
45475
45475
  onClick: a
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sprintify-ui",
3
- "version": "0.5.10",
3
+ "version": "0.5.11",
4
4
  "scripts": {
5
5
  "build": "rimraf dist && vue-tsc && vite build",
6
6
  "build-fast": "rimraf dist && vite build",
@@ -29,7 +29,7 @@
29
29
 
30
30
  <template #items>
31
31
  <template
32
- v-for="notification in notificationsConfig.items"
32
+ v-for="notification in notificationsConfig.items.slice(0, 4)"
33
33
  :key="notification.id + 'link'"
34
34
  >
35
35
  <BaseLayoutNotificationItem
@@ -105,8 +105,7 @@ const props = defineProps({
105
105
  });
106
106
 
107
107
  const unreadNotifications = computed(() => {
108
- return props.notificationsConfig.items
109
- .filter(i => !i.read);
108
+ return props.notificationsConfig.items.filter(i => !i.read);
110
109
  });
111
110
 
112
111
  const breakpoints = useBreakpoints();