We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6270a5b commit a3ef277Copy full SHA for a3ef277
src/views/Travel/utils/getStepButton.ts
@@ -4,7 +4,8 @@ export function getStepButton() {
4
5
try {
6
buttons = Array.from(document.querySelectorAll(".relative.mt-2.rounded-lg")[1].querySelectorAll("button"))
7
- button = buttons.find((e) => e.tabIndex >= 0 && e.innerText.toLowerCase().includes("step")) ?? null
+ button = buttons.find((e) => e.tabIndex >= 0 && !e.getAttribute('x-on:click')?.includes('saveData') && e.innerText.toLowerCase().includes("step")) ?? null
8
+ console.log(button)
9
} catch (_) {
10
return null
11
}
0 commit comments