fix: cluster filter do not work in dashboard

This commit is contained in:
jialin
2025-12-24 12:20:56 +08:00
parent 530b20c633
commit a9b58a5564
4 changed files with 36 additions and 33 deletions
@@ -20,10 +20,18 @@ interface FooterButtonsProps {
handleCancel: () => void;
handleSubmit: () => void;
showButtons: Record<string, boolean>;
loading?: boolean;
}
const FooterButtons: React.FC<FooterButtonsProps> = (props) => {
const { onPrevious, onNext, handleCancel, handleSubmit, showButtons } = props;
const {
onPrevious,
onNext,
handleCancel,
handleSubmit,
showButtons,
loading
} = props;
const intl = useIntl();
const handleOnNext = () => {
onNext();
@@ -52,6 +60,7 @@ const FooterButtons: React.FC<FooterButtonsProps> = (props) => {
type="primary"
onClick={handleSubmit}
style={{ minWidth: 88 }}
loading={loading}
>
{intl.formatMessage({ id: 'common.button.save' })}
</Button>