From 3dc590fc5eb85391e14de7a05e0a75aba0108da1 Mon Sep 17 00:00:00 2001 From: Paul Sarando Date: Wed, 28 Feb 2024 17:55:01 -0700 Subject: [PATCH] CORE-1967 Enable dirty flag in Metadata form back button --- src/components/metadata/form/MetadataFormToolbar.js | 3 ++- src/components/metadata/form/index.js | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/metadata/form/MetadataFormToolbar.js b/src/components/metadata/form/MetadataFormToolbar.js index bfacf66f9..a7614c470 100644 --- a/src/components/metadata/form/MetadataFormToolbar.js +++ b/src/components/metadata/form/MetadataFormToolbar.js @@ -38,6 +38,7 @@ const MetadataFormToolbar = (props) => { const { baseId, title, + dirty, saveDisabled, showSave, onSave, @@ -59,7 +60,7 @@ const MetadataFormToolbar = (props) => { return ( - + { setShowImportConfirmationDialog(true) } targetResource={targetResource} + dirty={dirty} /> {irodsAVUs?.length > 0 && (