From 1b74e506fc264e9cc43388f210d98cbf3033a1bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?marcin=20miko=C5=82ajczak?= Date: Tue, 27 Aug 2024 14:30:23 +0200 Subject: [PATCH] bump pl-api MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: marcin mikołajczak --- package.json | 2 +- src/components/dropdown-menu/dropdown-menu-item.tsx | 2 +- src/utils/notification.ts | 1 + yarn.lock | 8 ++++---- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index d2528c0f7..0412ea0d0 100644 --- a/package.json +++ b/package.json @@ -132,7 +132,7 @@ "multiselect-react-dropdown": "^2.0.25", "object-to-formdata": "^4.5.1", "path-browserify": "^1.0.1", - "pl-api": "^0.0.20", + "pl-api": "^0.0.21", "postcss": "^8.4.29", "process": "^0.11.10", "punycode": "^2.1.1", diff --git a/src/components/dropdown-menu/dropdown-menu-item.tsx b/src/components/dropdown-menu/dropdown-menu-item.tsx index 7cbc5ddb2..d57f54f28 100644 --- a/src/components/dropdown-menu/dropdown-menu-item.tsx +++ b/src/components/dropdown-menu/dropdown-menu-item.tsx @@ -101,7 +101,7 @@ const DropdownMenuItem = ({ index, item, onClick, autoFocus }: IDropdownMenuItem > {item.icon && } - {item.text} + {item.text} {item.count ? ( diff --git a/src/utils/notification.ts b/src/utils/notification.ts index cf7a74cf3..80e13ab94 100644 --- a/src/utils/notification.ts +++ b/src/utils/notification.ts @@ -16,6 +16,7 @@ const NOTIFICATION_TYPES = [ 'event_reminder', 'participation_request', 'participation_accepted', + 'bite', ] as const; /** Notification types to exclude from the "All" filter by default. */ diff --git a/yarn.lock b/yarn.lock index e07d5974e..e73750fb6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -8385,10 +8385,10 @@ pkg-types@^1.0.3: mlly "^1.2.0" pathe "^1.1.0" -pl-api@^0.0.20: - version "0.0.20" - resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.20.tgz#2839820d399d8018ca3c89b8529e2d4c239b77c1" - integrity sha512-FL5eCZnJDPuazGK9zMrIHsKmM9Mb1kvcaYMR6ecbGpkzmustjNL0f8gdH86rFYL1k33zyKLA3sd7OAXB4zFoMg== +pl-api@^0.0.21: + version "0.0.21" + resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-0.0.21.tgz#1b1b9465fe8779969ebf05c77a781df7156c62a4" + integrity sha512-os0Em81tVJQDT/8GtWjmBIvqsR3bbBDhlt55StATyJLHb/OFDpBZ4xa7FctwBQxg7R3MrtbKnpOh1wFmzNraew== dependencies: blurhash "^2.0.5" http-link-header "^1.1.3"