This commit is contained in:
j3d1 2026-09-06 03:57:24 +02:00
parent 6c973b9fc2
commit aef6677736
21 changed files with 4839 additions and 9444 deletions

View file

@ -30,7 +30,7 @@
:width="128" :height="128" fit="cover"/>
<div class="mt-2">
<fs-file-source @input="uploadPicture">
<span class="btn btn-primary"><i class="fas fa-upload"></i> Upload</span>
<span class="btn btn-primary"><b-icon-upload></b-icon-upload> Upload</span>
</fs-file-source>
<guarded-button class="btn btn-outline-secondary ml-2" type="button"
confirm-message="Are you sure you want to remove your profile picture?"
@ -106,6 +106,7 @@
</template>
<script>
import * as BIcons from "bootstrap-icons-vue";
import {mapActions, mapState} from "vuex";
import AuthenticatedImage from "@/components/AuthenticatedImage.vue";
import FsFileSource from "@/components/inputs/FsFileSource.vue";
@ -113,7 +114,7 @@ import GuardedButton from "@/components/GuardedButton.vue";
export default {
name: 'Account',
components: {AuthenticatedImage, FsFileSource, GuardedButton},
components: {AuthenticatedImage, FsFileSource, GuardedButton, ...BIcons},
computed: {
...mapState(['user', 'user_profile']),
profilePictureSrc() {