Skip to content

Commit 54dbcb4

Browse files
committed
Fix image source URL in QFileControlRenderer to use API endpoint
1 parent 2edf7c5 commit 54dbcb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/quasar-jsonform/controls/QFileControlRenderer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ div(style="cursor: pointer")
1919
template(v-slot:prepend)
2020
q-icon(name="mdi-paperclip")
2121
q-card(style="border-radius: 0")
22-
q-img(:src="baseUrl + '/management/identities/photo/raw?' + photoUrlQuery.params" placeholder-src='/no-photo.jpg' fit='contain' height='400px')
22+
q-img(:src="'/api/management/identities/photo/raw?' + photoUrlQuery.params" placeholder-src='/no-photo.jpg' fit='contain' height='400px')
2323
</template>
2424

2525
<script lang="ts">

0 commit comments

Comments
 (0)