mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 06:21:23 +00:00
New onboarding, trials, Stripe integration (#2185)
* New onboarding, trials, Stripe integration * Fix tests * Lint fixes * Fix subscription endpoints
This commit is contained in:
@@ -14,6 +14,10 @@ export default class extends Controller {
|
||||
this.refreshWithParam("currency", event.target.value);
|
||||
}
|
||||
|
||||
setTheme(event) {
|
||||
document.documentElement.setAttribute("data-theme", event.target.value);
|
||||
}
|
||||
|
||||
refreshWithParam(key, value) {
|
||||
const url = new URL(window.location);
|
||||
url.searchParams.set(key, value);
|
||||
|
||||
Reference in New Issue
Block a user