Browse Source

Fix some errors

master
Joshua Rubingh 5 months ago
parent
commit
a5add9b664
  1. 7
      components/app/list/item.vue
  2. 2
      pages/researchStudies/_studyId/index.vue

7
components/app/list/item.vue

@ -4,15 +4,16 @@ @@ -4,15 +4,16 @@
:to="
!app.login
? localePath(`/researchStudies/${studyId}/apps/${app.slug}/`)
: false
: ''
"
:href="app.login ? app.login : false"
:target="app.login ? '_blank' : false"
:href="app.login ? app.login : ''"
:target="app.login ? '_blank' : ''"
:disabled="!app.available"
>
<v-avatar>
<v-img :src="app.src" :alt="`${app.name}`" height="100" width="100" />
</v-avatar>
<div style="padding-left: 5rem">
<v-card-title>{{ app.name }}</v-card-title>
<v-card-subtitle v-text="app.description"></v-card-subtitle>

2
pages/researchStudies/_studyId/index.vue

@ -3,7 +3,7 @@ @@ -3,7 +3,7 @@
<ui-rug-card-title> {{ study.name }} ({{ study.code }}) </ui-rug-card-title>
<v-card-text class="d-flex flex-row mb-6">
<v-list v-for="app in apps" :key="app">
<v-list v-for="app in apps" :key="app.id">
<app-list-item :app="app" :study-id="studyId" />
</v-list>

Loading…
Cancel
Save