Skip to content
Snippets Groups Projects
Verified Commit 28125fcf authored by Martin Weise's avatar Martin Weise
Browse files

Fixed a bug

parent 0a0a6908
No related branches found
No related tags found
No related merge requests found
......@@ -40,11 +40,11 @@
:resource="identifier" />
</v-list-item>
<v-list-item
v-if="subset.owner"
v-if="subset?.owner"
:title="$t('pages.subset.creator.title')"
density="compact">
<UserBadge
:user="subset.owner"
:user="subset?.owner"
:other-user="cacheUser" />
</v-list-item>
<v-list-item
......@@ -173,7 +173,7 @@ export default {
return this.database.subsets.filter(i => i.query_id === this.$route.params.subset_id)
},
canViewInfo () {
if (!this.database) {
if (!this.database || !this.subset) {
return false
}
if (this.database.is_public || this.database.is_schema_public) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment