removed unused code
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
<!--
|
||||||
|
Diese Komponente erlaubt dem Nutzer die Änderung seiner Accountdaten
|
||||||
|
-->
|
||||||
<template>
|
<template>
|
||||||
<q-dialog v-bind:model-value="showDeleteAccountPopup">
|
<q-dialog v-bind:model-value="showDeleteAccountPopup">
|
||||||
<q-card style="padding: 20px;">
|
<q-card style="padding: 20px;">
|
||||||
@@ -13,8 +16,6 @@
|
|||||||
</q-dialog>
|
</q-dialog>
|
||||||
<q-dialog v-bind:model-value="internalShowDialog" @update:model-value="closeDialog" backdrop-filter="brightness(60%)" full-width>
|
<q-dialog v-bind:model-value="internalShowDialog" @update:model-value="closeDialog" backdrop-filter="brightness(60%)" full-width>
|
||||||
<q-card style="margin: 3rem 20rem;padding: 30px;height: 80vh;overflow-y:scroll" v-if="userStore.userLoaded">
|
<q-card style="margin: 3rem 20rem;padding: 30px;height: 80vh;overflow-y:scroll" v-if="userStore.userLoaded">
|
||||||
<!--<h1>{{ internalShowDialog }}</h1>-->
|
|
||||||
|
|
||||||
<!-- HEADLINE -->
|
<!-- HEADLINE -->
|
||||||
<q-card-section class="row items-center q-pb-none">
|
<q-card-section class="row items-center q-pb-none">
|
||||||
<h4 style="margin: 0;">Einstellungen</h4>
|
<h4 style="margin: 0;">Einstellungen</h4>
|
||||||
@@ -40,6 +41,10 @@
|
|||||||
<td>Nutzername:</td>
|
<td>Nutzername:</td>
|
||||||
<td>{{ userStore.user!.username }}</td>
|
<td>{{ userStore.user!.username }}</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td>Sichtbarkeit:</td>
|
||||||
|
<td>{{ userStore.user!.isPrivate ? 'Privat' : 'Öffentlich' }}</td>
|
||||||
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -93,8 +98,8 @@
|
|||||||
import { useQuasar } from 'quasar';
|
import { useQuasar } from 'quasar';
|
||||||
import {profilePicture, responseModel,} from 'src/models';
|
import {profilePicture, responseModel,} from 'src/models';
|
||||||
import { useUserStore } from 'src/stores/user-store';
|
import { useUserStore } from 'src/stores/user-store';
|
||||||
import { sendNotification } from 'src/utils';
|
import { sendNotification } from 'src/utils';
|
||||||
import { computed, onMounted, toRefs } from 'vue';
|
import { computed } from 'vue';
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
|
|
||||||
const userStore = useUserStore();
|
const userStore = useUserStore();
|
||||||
@@ -122,8 +127,6 @@ import { sendNotification } from 'src/utils';
|
|||||||
sendNotification(response.message, true);
|
sendNotification(response.message, true);
|
||||||
});
|
});
|
||||||
closeDialog();
|
closeDialog();
|
||||||
|
|
||||||
// Hier muss ein request ans Backend geschickt werden, welcher den gesamten User enthält
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function toggleSetPrivate() {
|
function toggleSetPrivate() {
|
||||||
|
|||||||
Reference in New Issue
Block a user