Merge pull request #3468 from fosrl/fix/labels-dropdown-flicker

fix labels dropdown flicker if no changes applied
This commit is contained in:
Owen Schwartz
2026-07-20 20:28:37 -04:00
committed by GitHub
+4 -1
View File
@@ -95,7 +95,10 @@ export function useOptimisticLabels({
}
async function refresh() {
router.refresh();
// Only refresh if the labels have been modified
if (pendingActions.length > 0) {
router.refresh();
}
setPendingActions([]);
}