We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8658373 commit f7d5090Copy full SHA for f7d5090
static/gsApp/views/seerAutomation/seerAutomationProjectList.tsx
@@ -110,7 +110,7 @@ export function SeerAutomationProjectList() {
110
};
111
112
async function updateProjectsSeerValue(value: string) {
113
- addLoadingMessage('Updating projects...');
+ addLoadingMessage('Updating projects...', {duration: 30000});
114
try {
115
await Promise.all(
116
Array.from(selected).map(projectId => {
@@ -127,9 +127,10 @@ export function SeerAutomationProjectList() {
127
})
128
);
129
addSuccessMessage('Projects updated successfully');
130
- await reloadProjects();
131
} catch (err) {
132
addErrorMessage('Failed to update some projects');
+ } finally {
133
+ await reloadProjects();
134
}
135
136
0 commit comments