<template>
  <q-avatar size="60px">
    <q-img
      v-if="contact || mov"
      :src="
        mov
          ? getImgUserMov(from ? mov.tipocontofrom : mov.tipocontoto, from)
          : getImgUser(contact)
      "
      :alt="contact ? contact.username : ''"
      img-class="imgprofile"
      height="60px"
    />
  </q-avatar>
</template>

<script lang="ts" src="./CMyImgUser.ts">
</script>

<style lang="scss" scoped>
@import './CMyImgUser.scss';
</style>
