Skip to content

Commit b14c8ae

Browse files
ergunshDevtools-frontend LUCI CQ
authored and
Devtools-frontend LUCI CQ
committed
[PatchWidget] Disable Change button while applying to workspace
Fixed: 405918443 Change-Id: Ib05d522c3b9399f7eb1110b1d3d137909f23ece1 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6440927 Commit-Queue: Wolfgang Beyer <wolfi@chromium.org> Auto-Submit: Ergün Erdoğmuş <ergunsh@chromium.org> Reviewed-by: Wolfgang Beyer <wolfi@chromium.org>
1 parent 5a1dc2a commit b14c8ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

front_end/panels/ai_assistance/PatchWidget.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,7 @@ export class PatchWidget extends UI.Widget.Widget {
331331
.jslogContext=${'change-workspace'}
332332
.variant=${Buttons.Button.Variant.TEXT}
333333
.title=${lockedString(UIStringsNotTranslate.changeRootFolder)}
334+
.disabled=${input.patchSuggestionState === PatchSuggestionState.LOADING}
334335
${Directives.ref(output.changeRef)}
335336
>${lockedString(UIStringsNotTranslate.change)}</devtools-button>
336337
` : nothing}

0 commit comments

Comments
 (0)