1
0

FRONT правки

Правки фронта
This commit is contained in:
2026-01-12 04:03:44 +07:00
parent cd2e291394
commit 61c336b703
5 changed files with 20 additions and 20 deletions

View File

@@ -25,7 +25,7 @@
<div v-if="card.assignee" class="assignee">
<img
v-if="isAvatarUrl(card.assignee)"
:src="card.assignee"
:src="getFullUrl(card.assignee)"
alt="avatar"
class="assignee-img"
/>
@@ -53,6 +53,7 @@
<script setup>
import { ref, computed, onMounted, onUpdated } from 'vue'
import { getFullUrl } from '../api'
const props = defineProps({
card: Object,
@@ -143,7 +144,7 @@ const daysLeftText = computed(() => {
})
const isAvatarUrl = (value) => {
return value && (value.startsWith('http://') || value.startsWith('https://'))
return value && (value.startsWith('http://') || value.startsWith('https://') || value.startsWith('/'))
}
</script>