This repository was archived by the owner on Oct 23, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +11
-6
lines changed
packages/svelte/src/lib/Auth/interfaces Expand file tree Collapse file tree 6 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @supabase/auth-ui-svelte ' : patch
3+ ---
4+
5+ Fix button label loading state
Original file line number Diff line number Diff line change 101101 <slot />
102102 </Container >
103103 <Button type ="submit" color ="primary" {loading } {appearance }
104- >{i18n ?.[lngKey ]?.button_label }</ Button
105- >
104+ >{loading ? i18n ?.[lngKey ]?.loading_button_label : i18n ?.[ lngKey ]?. button_label }
105+ </ Button >
106106
107107 {#if showLinks }
108108 <Container direction ="vertical" gap ="small" {appearance }>
Original file line number Diff line number Diff line change 5151 />
5252 </div >
5353 <Button type ="submit" color ="primary" {loading } {appearance }>
54- {i18n ?.forgotten_password ?.button_label }
54+ {loading ? i18n ?. forgotten_password ?. loading_button_label : i18n ?.forgotten_password ?.button_label }
5555 </Button >
5656 </Container >
5757
Original file line number Diff line number Diff line change 5454 />
5555 </div >
5656 <Button type ="submit" color ="primary" {loading } {appearance }>
57- {i18n ?.magic_link ?.button_label }
57+ {loading ? i18n ?. magic_link ?. loading_button_label : i18n ?.magic_link ?.button_label }
5858 </Button >
5959 </Container >
6060
Original file line number Diff line number Diff line change 5252 />
5353 </div >
5454 <Button type ="submit" color ="primary" {loading } {appearance }>
55- {i18n ?.update_password ?.button_label }
55+ {loading ? i18n ?. update_password ?. loading_button_label : i18n ?.update_password ?.button_label }
5656 </Button >
5757 </Container >
5858
Original file line number Diff line number Diff line change 9595 />
9696 </div >
9797 <Button type ="submit" color ="primary" {loading } {appearance }>
98- {i18n ?.verify_otp ?.button_label }
98+ {loading ? i18n ?. verify_otp ?. loading_button_label : i18n ?.verify_otp ?.button_label }
9999 </Button >
100100
101101 {#if showLinks }
You can’t perform that action at this time.
0 commit comments