Skip to content

Commit

Permalink
Fix issue with components that are not renewed #199 #198
Browse files Browse the repository at this point in the history
  • Loading branch information
m-mohr committed Jul 5, 2022
1 parent 3388a2d commit 240ee73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/views/Catalog.vue
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<template>
<div :class="{cc: true, [data.type.toLowerCase()]: true, mixed: hasCatalogs && hasItems, empty: !hasCatalogs && !hasItems}">
<div :class="{cc: true, [data.type.toLowerCase()]: true, mixed: hasCatalogs && hasItems, empty: !hasCatalogs && !hasItems}" :key="data.id">
<b-row>
<b-col class="meta">
<section class="intro">
<h2>Description</h2>
<DeprecationNotice v-if="data.deprecated" :data="data" />
<AnonymizedNotice v-if="data['anon:warning']" :warning="data['anon:warning']" />
<ReadMore v-if="data.description" :lines="10" :key="data.description">
<ReadMore v-if="data.description" :lines="10">
<Description :description="data.description" />
</ReadMore>
<Keywords v-if="Array.isArray(data.keywords) && data.keywords.length > 0" :keywords="data.keywords" />
Expand Down
4 changes: 2 additions & 2 deletions src/views/Item.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<template>
<div class="item">
<div class="item" :key="data.id">
<b-row>
<b-col class="left">
<section class="mb-4">
Expand All @@ -22,7 +22,7 @@
<h2 v-if="data.properties.description">Description</h2>
<DeprecationNotice v-if="data.properties.deprecated" :data="data" />
<AnonymizedNotice v-if="data.properties['anon:warning']" :warning="data.properties['anon:warning']" />
<ReadMore v-if="data.properties.description" :lines="10" :key="data.properties.description">
<ReadMore v-if="data.properties.description" :lines="10">
<Description :description="data.properties.description" />
</ReadMore>
<Keywords v-if="Array.isArray(data.properties.keywords) && data.properties.keywords.length > 0" :keywords="data.properties.keywords" />
Expand Down

0 comments on commit 240ee73

Please sign in to comment.