stash
This commit is contained in:
parent
6c973b9fc2
commit
aef6677736
21 changed files with 4839 additions and 9444 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue