Merge branch 'big-nate/bus-1483-quick-win-for-filter-dashboard-drill-downexplore-metric' of https://github.com/buster-so/buster into big-nate/bus-1483-quick-win-for-filter-dashboard-drill-downexplore-metric

This commit is contained in:
Nate Kelley 2025-07-23 23:09:09 -06:00
commit 5db3e7652e
No known key found for this signature in database
GPG Key ID: FD90372AB8D98B4F
2 changed files with 5 additions and 7 deletions

View File

@ -1,5 +1,5 @@
import React, { useState } from 'react';
import { Button } from '..//buttons/Button';
import { Button } from '../buttons/Button';
import { InputTextArea } from '../inputs/InputTextArea';
import { cn } from '@/lib/utils';
import { inputHasText } from '@/lib/text';

View File

@ -136,9 +136,7 @@ const useRemoveFromDashboardItem = ({
dashboardId,
metricIds: [metricId]
});
}
}),
[dashboardId, metricId, removeMetricFromDashboard]
[dashboardId, metricId, removeMetricFromDashboard, isPending]
);
};
@ -274,7 +272,7 @@ const useEditChartButton = ({
secondaryView: 'chart-edit'
})
}),
[metricId]
[metricId, dashboardId, chatId]
);
};
@ -300,7 +298,7 @@ const useViewResultsButton = ({
page: 'results'
})
}),
[metricId]
[metricId, dashboardId, chatId]
);
};
@ -326,6 +324,6 @@ const useViewSQLButton = ({
page: 'sql'
})
}),
[metricId]
[metricId, dashboardId, chatId]
);
};