1
0
mirror of https://github.com/chylex/Nextcloud-News.git synced 2025-04-29 22:34:07 +02:00
Nextcloud-News/js/vue_components/IconLinkCompact.vue
Tucker McKnight 83cdcb016b Add a Vue component, remove extras
Fixes the problem of the vue components directory not
existing. Also removed the demo components that were
not meant to be committed.

Signed-off-by: Tucker McKnight <tucker.mcknight@gmail.com>
2021-07-19 14:58:49 +02:00

22 lines
373 B
Vue

<template>
<li class="util only-in-compact">
<a class="external icon-link"
v-on:click="ctrl.markRead(item.id)"
target="_blank"
rel="noreferrer"
v-bind:href="item.url"
title="<?php p($l->t('Open website')) ?>"
news-stop-propagation>
</a>
</li>
</template>
<script>
export default {
props: ['ctrl', 'item'],
};
</script>