- Checkpoint

Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
Dave Richer
2024-08-21 15:39:16 -04:00
parent 90532427b6
commit 11785f3b86

View File

@@ -394,6 +394,7 @@ export function ProductionListConfigManager({
> >
{t("general.actions.save")} {t("general.actions.save")}
</Button> </Button>
{!isAddingNewProfile && (
<Button <Button
type="default" type="default"
onClick={() => { onClick={() => {
@@ -403,6 +404,7 @@ export function ProductionListConfigManager({
> >
{t("general.actions.saveas")} {t("general.actions.saveas")}
</Button> </Button>
)}
<Button <Button
onClick={() => { onClick={() => {
setIsAddingNewProfile(false); setIsAddingNewProfile(false);
@@ -431,6 +433,7 @@ export function ProductionListConfigManager({
optionLabelProp="label" optionLabelProp="label"
popupMatchSelectWidth={false} popupMatchSelectWidth={false}
value={activeView} value={activeView}
disabled={open || isAddingNewProfile} // Disable the Select box when the popover is open or adding a new profile
> >
{bodyshop.production_config {bodyshop.production_config
.slice() .slice()