Compare commits

..

No commits in common. "0.4.3" and "0.4.2" have entirely different histories.
0.4.3 ... 0.4.2

4 changed files with 3 additions and 12 deletions

View File

@ -2,15 +2,8 @@
All notable changes to this project will be documented in this file. Dates are displayed in UTC. All notable changes to this project will be documented in this file. Dates are displayed in UTC.
#### [0.4.3](https://git.odit.services/lfk/kiosk/compare/0.4.2...0.4.3)
- fix(href): replaced location.replace with goto [`8959223`](https://git.odit.services/lfk/kiosk/commit/8959223016b2bbe8ebae79f55a489cc0503b3c78)
#### [0.4.2](https://git.odit.services/lfk/kiosk/compare/0.4.1...0.4.2) #### [0.4.2](https://git.odit.services/lfk/kiosk/compare/0.4.1...0.4.2)
> 19 April 2023
- 🚀Bumped version to 0.4.2 [`a3e437d`](https://git.odit.services/lfk/kiosk/commit/a3e437d9665e9ee1836770618c10adbbd1c8f7d6)
- fix(hrefs): Fixed relative locations [`19c9fa3`](https://git.odit.services/lfk/kiosk/commit/19c9fa339b3ddc4adef39d5783346bfd0db904af) - fix(hrefs): Fixed relative locations [`19c9fa3`](https://git.odit.services/lfk/kiosk/commit/19c9fa339b3ddc4adef39d5783346bfd0db904af)
#### [0.4.1](https://git.odit.services/lfk/kiosk/compare/0.4.0...0.4.1) #### [0.4.1](https://git.odit.services/lfk/kiosk/compare/0.4.0...0.4.1)

View File

@ -1,6 +1,6 @@
{ {
"name": "@lfk/kiosk", "name": "@lfk/kiosk",
"version": "0.4.3", "version": "0.4.2",
"private": false, "private": false,
"license": "MIT", "license": "MIT",
"repository": "https://git.odit.services/lfk/kiosk", "repository": "https://git.odit.services/lfk/kiosk",

View File

@ -1,5 +1,4 @@
<script lang="ts"> <script lang="ts">
import { goto } from '$app/navigation';
import userstore from '$lib/userstore'; import userstore from '$lib/userstore';
import { AuthService } from '@odit/lfk-client-js'; import { AuthService } from '@odit/lfk-client-js';
@ -15,7 +14,7 @@
})) as import('@odit/lfk-client-js').ResponseAuth; })) as import('@odit/lfk-client-js').ResponseAuth;
loginError=false; loginError=false;
await userstore.login(auth); await userstore.login(auth);
goto('./registration', {replaceState: true}) location.replace('./registration');
} catch (error) { } catch (error) {
console.log(error); console.log(error);
loginError = true; loginError = true;

View File

@ -1,5 +1,4 @@
<script lang="ts"> <script lang="ts">
import { goto } from '$app/navigation';
import userstore from '$lib/userstore'; import userstore from '$lib/userstore';
import { onMount } from 'svelte'; import { onMount } from 'svelte';
@ -12,7 +11,7 @@
} catch (error) { } catch (error) {
console.log(error); console.log(error);
userstore.logout(); userstore.logout();
goto('./login', {replaceState: true}) location.replace(`./login`);
} }
}); });
</script> </script>