diff --git a/apps/desktop/biome.jsonc b/apps/desktop/biome.jsonc index 5cbb2c95..3de881fe 100644 --- a/apps/desktop/biome.jsonc +++ b/apps/desktop/biome.jsonc @@ -46,7 +46,7 @@ "useNodejsImportProtocol": "off", "useImportType": "off", "useTemplate": "off", - "noNonNullAssertion": "off" + "noNonNullAssertion": "warn" }, "suspicious": { "recommended": true, diff --git a/apps/desktop/src/renderer/stores/gitlab/issues-store.ts b/apps/desktop/src/renderer/stores/gitlab/issues-store.ts index 2eea2c38..f9df38b8 100644 --- a/apps/desktop/src/renderer/stores/gitlab/issues-store.ts +++ b/apps/desktop/src/renderer/stores/gitlab/issues-store.ts @@ -158,6 +158,7 @@ export async function importGitLabIssues( try { const result = await window.electronAPI.importGitLabIssues(projectId, issueIids); if (result.success) { + store.setError(null); // Clear error on success return true; } else { store.setError(result.error || 'Failed to import GitLab issues');