Compare commits

...

5 Commits

Author SHA1 Message Date
Oğuzhan Koral bdcffcab74 Merge branch 'main' into dogukan/cnx-2889-handle-network-connectivity-failure-in-project-selector-dui 2026-01-12 17:47:37 +03:00
Dogukan Karatas 13ef9b3cfb pass other network errors 2026-01-09 15:42:54 +01:00
Dogukan Karatas 4667d42ed2 internet check 2026-01-08 15:59:34 +01:00
Dogukan Karatas 445e8c7c7b top-level handling 2025-12-17 13:19:35 +01:00
Dogukan Karatas 81310d24c2 error handler 2025-12-16 14:30:39 +01:00
2 changed files with 8 additions and 8 deletions
+1
View File
@@ -6920,6 +6920,7 @@ export type WorkspacePermissionChecks = {
canReadSecuritySettings: PermissionCheckResult;
canReadWorkspaceIssueLabels: PermissionCheckResult;
canRemoveUser: PermissionCheckResult;
canUseAdminSupportTools: PermissionCheckResult;
canUseExperimentalDashboardFeatures: PermissionCheckResult;
};
+7 -8
View File
@@ -165,14 +165,13 @@ export const useAccountStore = defineStore('accountStore', () => {
// hostAppStore.setNotification(notification)
}
// if (res.networkError) {
// const notification: ToastNotification = {
// type: ToastNotificationType.Danger,
// title: 'Network Error',
// description: res.networkError.message
// }
// hostAppStore.setNotification(notification)
// }
if (res.networkError && !navigator.onLine) {
hostAppStore.setNotification({
type: ToastNotificationType.Danger,
title: 'No Internet Connection',
description: 'Please check your network connection and try again.'
})
}
})
const link = splitLink(