diff --git a/back/volume/src/users/users.controller.ts b/back/volume/src/users/users.controller.ts index 7cf4dba..7dfd02c 100644 --- a/back/volume/src/users/users.controller.ts +++ b/back/volume/src/users/users.controller.ts @@ -192,7 +192,6 @@ export class UsersController { } @Post(':id') - @UseGuards(AuthenticatedGuard) async createById (@Body() payload: UserDto): Promise { const user = await this.usersService.findUser(payload.ftId) if (user != null) { diff --git a/front/volume/package-lock.json b/front/volume/package-lock.json index fb262fc..51a7306 100644 --- a/front/volume/package-lock.json +++ b/front/volume/package-lock.json @@ -19,7 +19,8 @@ "devDependencies": { "prettier": "^2.8.4", "svelte-check": "^2.10.3", - "svelte-select": "^5.5.2" + "svelte-select": "^5.5.2", + "svelte-simple-modal": "^1.5.2" } }, "node_modules/@esbuild/android-arm": { @@ -1462,6 +1463,15 @@ "svelte-floating-ui": "1.2.8" } }, + "node_modules/svelte-simple-modal": { + "version": "1.5.2", + "resolved": "https://registry.npmjs.org/svelte-simple-modal/-/svelte-simple-modal-1.5.2.tgz", + "integrity": "sha512-kQ+9/bonxMMJe6dGTCPXBkYQQ4zF8rqqPp+PvTWOJB8QtB+Z0S/h7ZJRDZOAnkXTUClwd+Qmb2HHTIXVkjlSvA==", + "dev": true, + "peerDependencies": { + "svelte": "^3.31.2" + } + }, "node_modules/to-regex-range": { "version": "5.0.1", "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", diff --git a/front/volume/package.json b/front/volume/package.json index e49ae72..3747249 100644 --- a/front/volume/package.json +++ b/front/volume/package.json @@ -13,7 +13,8 @@ "devDependencies": { "prettier": "^2.8.4", "svelte-check": "^2.10.3", - "svelte-select": "^5.5.2" + "svelte-select": "^5.5.2", + "svelte-simple-modal": "^1.5.2" }, "dependencies": { "@sveltejs/vite-plugin-svelte": "^2.0.2", diff --git a/front/volume/src/App.svelte b/front/volume/src/App.svelte index 8b970b9..836ef45 100644 --- a/front/volume/src/App.svelte +++ b/front/volume/src/App.svelte @@ -16,14 +16,14 @@
+ {#if $store === null} + +

{message}

+{#if form === true} + e.which === 13 && _onOkay()} /> +{/if} + +
+ + +
\ No newline at end of file diff --git a/front/volume/src/components/Alert/content.ts b/front/volume/src/components/Alert/content.ts new file mode 100644 index 0000000..04f6c84 --- /dev/null +++ b/front/volume/src/components/Alert/content.ts @@ -0,0 +1,4 @@ +import { writable } from 'svelte/store'; + +export const content = writable("init") +export const popup = writable(null) \ No newline at end of file diff --git a/front/volume/src/components/Channels.svelte b/front/volume/src/components/Channels.svelte index e584a1f..84350ac 100644 --- a/front/volume/src/components/Channels.svelte +++ b/front/volume/src/components/Channels.svelte @@ -1,4 +1,11 @@