Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bdcffcab74 | |||
| 13ef9b3cfb | |||
| 4667d42ed2 | |||
| 445e8c7c7b | |||
| 81310d24c2 |
@@ -6920,6 +6920,7 @@ export type WorkspacePermissionChecks = {
|
||||
canReadSecuritySettings: PermissionCheckResult;
|
||||
canReadWorkspaceIssueLabels: PermissionCheckResult;
|
||||
canRemoveUser: PermissionCheckResult;
|
||||
canUseAdminSupportTools: PermissionCheckResult;
|
||||
canUseExperimentalDashboardFeatures: PermissionCheckResult;
|
||||
};
|
||||
|
||||
|
||||
+7
-8
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user