mirror of https://github.com/buster-so/buster.git
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:
commit
5db3e7652e
|
@ -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';
|
||||
|
|
|
@ -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]
|
||||
);
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue