Skip to content

Commit

Permalink
PackageDetail: Link crafter url
Browse files Browse the repository at this point in the history
  • Loading branch information
dmstern committed Nov 26, 2018
1 parent 2849329 commit 617f7cf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/views/PackageDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@

<v-list-tile-content>
<v-list-tile-title>{{crafter.name}}</v-list-tile-title>
<v-list-tile-sub-title>{{crafter.url}}</v-list-tile-sub-title>
<v-list-tile-sub-title v-if="crafter.url"><ExternalLink :href="crafter.url" :icon="$vuetify.icons.website"></ExternalLink></v-list-tile-sub-title>
</v-list-tile-content>

</v-list-tile>
Expand Down Expand Up @@ -264,6 +264,7 @@ import Config from '../../types/Config';
import PackageDetailItem from '@/components/PackageDetailItem.vue';
import CodeBlock from '@/components/CodeBlock.vue';
import CrafterAvatar from '@/components/CrafterAvatar.vue';
import ExternalLink from '@/components/ExternalLink.vue';
import { EventBus, Events } from '@/services/event-bus';
import { setTimeout } from 'timers';
import Searchable from '../../types/Searchable';
Expand All @@ -274,6 +275,7 @@ import Searchable from '../../types/Searchable';
PackageDetailItem,
CodeBlock,
CrafterAvatar,
ExternalLink,
},
})
export default class PackageDetail extends Vue {
Expand Down

0 comments on commit 617f7cf

Please sign in to comment.