mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
setHasUnsavedChanges to false when user selects another env and they agree to not save changes
This commit is contained in:
@@ -574,6 +574,8 @@ export default function Dashboard() {
|
||||
if (snapshotData) setSelectedSnapshotEnv(selectedWorkspaceEnv);
|
||||
else setSelectedEnv(selectedWorkspaceEnv);
|
||||
}
|
||||
|
||||
setHasUnsavedChanges(false);
|
||||
};
|
||||
|
||||
return data ? (
|
||||
|
||||
Reference in New Issue
Block a user