mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-10 18:29:07 +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