]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - app.js
Adding support for custom links target
[github/bastienwirtz/homer.git] / app.js
diff --git a/app.js b/app.js
index 6c2ba9078ef73da8214034e360530a33e7a3a55c..0cd75b53724263cf7c0d3d5f1fb959038db226a2 100644 (file)
--- a/app.js
+++ b/app.js
@@ -87,7 +87,7 @@ Vue.component('service', {
     props: ['item'],
     template: `<div>
     <div class="card">
-        <a :href="item.url">
+        <a :href="item.url" :target="item.target">
             <div class="card-content">
                 <div class="media">
                     <div v-if="item.logo" class="media-left">