Skip to content

Commit

Permalink
Merge branch 'main' of github.com:percona-platform/grafana into PMM-1…
Browse files Browse the repository at this point in the history
…1148-inventory-manage-labels
  • Loading branch information
matejkubinec committed Jul 19, 2023
2 parents ba66b46 + 78728b9 commit e96a684
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,10 @@ export const RestoreBackupModal: FC<RestoreBackupModalProps> = ({
name="serviceType"
label={Messages.serviceSelection}
fullWidth
disabled={values.vendor !== DATABASE_LABELS[Databases.mysql]}
disabled={
values.vendor !== DATABASE_LABELS[Databases.mysql] &&
values.vendor !== DATABASE_LABELS[Databases.mongodb]
}
/>
<TextInputField disabled name="vendor" label={Messages.vendor} />

Expand Down

0 comments on commit e96a684

Please sign in to comment.