Skip to content

Commit 1cc4945

Browse files
committed
fix: disable button when material is loading in GitInfoMaterial component
1 parent f1b0411 commit 1cc4945

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/app/details/triggerView/BuildImageModal/GitInfoMaterial.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -432,6 +432,7 @@ const GitInfoMaterial = ({
432432
]}
433433
buttonProps={{
434434
dataTestId: selectedMaterial.showAllCommits ? 'show-icon-filter' : 'show-icon-filter-applied',
435+
disabled: selectedMaterial.isMaterialLoading,
435436
ariaLabel: selectedMaterial.showAllCommits ? 'Show excluded commits' : 'Hide excluded commits',
436437
icon: (
437438
<Icon

0 commit comments

Comments
 (0)