[hub][vue] replace page files, fix item 'seen' prop

This commit is contained in:
Prateeksha Singh
2018-08-25 14:09:01 +05:30
parent 00175eab8e
commit c31e5c0013
7 changed files with 54 additions and 56 deletions

View File

@@ -1,5 +1,5 @@
<template>
<div v-if="item.seen" class="col-md-3 col-sm-4 col-xs-6 hub-card-container">
<div v-if="seen" class="col-md-3 col-sm-4 col-xs-6 hub-card-container">
<div class="hub-card"
@click="on_click(item_id)"
>
@@ -34,7 +34,7 @@
export default {
name: 'item-card',
props: ['item', 'item_id_fieldname', 'is_local', 'on_click', 'allow_clear'],
props: ['item', 'item_id_fieldname', 'is_local', 'on_click', 'allow_clear', 'seen'],
computed: {
title() {
const item_name = this.item.item_name || this.item.name;