Skip to content

Commit 1989ef9

Browse files
committed
fix: address PR review comments
1 parent c951b18 commit 1989ef9

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
"name": "gitify-tauri",
33
"private": true,
44
"version": "0.1.0",
5+
"packageManager": "[email protected]",
56
"type": "module",
67
"scripts": {
78
"dev": "vite",

src-tauri/tauri.conf.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://schema.tauri.app/config/2",
33
"productName": "Gitify",
4-
"version": "6.11.1",
4+
"version": "6.14.1",
55
"identifier": "com.electron.gitify",
66
"build": {
77
"beforeDevCommand": "pnpm dev",
@@ -31,7 +31,7 @@
3131
}
3232
],
3333
"security": {
34-
"csp": "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' asset: http://asset.localhost https: http: data:; font-src 'self' data:; connect-src 'self' https://api.github.com https://api.github.com/graphql;",
34+
"csp": "default-src 'self'; script-src 'self' 'unsafe-inline'; style-src 'self' 'unsafe-inline'; img-src 'self' asset: http://asset.localhost https: http: data:; font-src 'self' data:; connect-src 'self' https:;",
3535
"assetProtocol": {
3636
"enable": true,
3737
"scope": {

src/components/metrics/MetricGroup.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ export const MetricGroup: FC<MetricGroupProps> = ({
3939
return (
4040
settings.showPills && (
4141
<div className="flex gap-1">
42-
{(notification.subject?.linkedIssues?.length ?? 0) > 0 && (
42+
{linkedIssuesLength > 0 && (
4343
<MetricPill
4444
color={IconColor.GRAY}
4545
icon={IssueOpenedIcon}
46-
metric={notification.subject.linkedIssues?.length ?? 0}
46+
metric={linkedIssuesLength}
4747
title={linkedIssuesPillDescription}
4848
/>
4949
)}

0 commit comments

Comments
 (0)