Skip to content

Commit 5a54676

Browse files
committed
ui: use common component prefix
1 parent ab7f1fe commit 5a54676

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

ui/src/components/CollectionDetail.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<dl>
1414
<dt>Status</dt>
1515
<dd>
16-
<CollectionStatusBadge :status="collection.status"/>
16+
<en-collection-status-badge :status="collection.status"/>
1717
</dd>
1818
<template v-if="collection.originalId">
1919
<dt>OriginalID</dt>
@@ -88,7 +88,7 @@ import moment from 'moment';
8888
8989
@Component({
9090
components: {
91-
CollectionStatusBadge,
91+
'en-collection-status-badge': CollectionStatusBadge,
9292
},
9393
})
9494
export default class CollectionDetail extends Vue {

ui/src/components/CollectionList.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<td class="collection-name">{{ item.name }}</td>
3838
<td>{{ item.createdAt | formatDateTime }}</td>
3939
<td>{{ item.completedAt | formatDateTime }}</td>
40-
<td><CollectionStatusBadge :status="item.status"/></td>
40+
<td><en-collection-status-badge :status="item.status"/></td>
4141
</tr>
4242
</tbody>
4343
</table>
@@ -70,7 +70,7 @@ const collectionStoreNs = namespace('collection');
7070
7171
@Component({
7272
components: {
73-
CollectionStatusBadge,
73+
'en-collection-status-badge': CollectionStatusBadge,
7474
},
7575
})
7676
export default class CollectionList extends Vue {

ui/src/views/Collection.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<CollectionDetail></CollectionDetail>
2+
<en-collection-detail/>
33
</template>
44

55
<script lang="ts">
@@ -8,7 +8,7 @@ import CollectionDetail from '@/components/CollectionDetail.vue';
88
99
@Component({
1010
components: {
11-
CollectionDetail,
11+
'en-collection-detail': CollectionDetail,
1212
},
1313
})
1414
export default class Collection extends Vue {}

ui/src/views/CollectionWorkflow.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<td scope="row">{{ item.name }}</td>
2727
<td>{{ item.started | formatEpoch }}</td>
2828
<td>{{ item.duration }}</td>
29-
<td><CollectionStatusBadge :status="item.status"/></td>
29+
<td><en-collection-status-badge :status="item.status"/></td>
3030
</tr>
3131
</tbody>
3232
</table>
@@ -64,7 +64,7 @@ import { api, EnduroCollectionClient } from '../client';
6464
6565
@Component({
6666
components: {
67-
CollectionStatusBadge,
67+
'en-collection-status-badge': CollectionStatusBadge,
6868
},
6969
})
7070
export default class CollectionWorkflow extends Vue {

ui/src/views/Collections.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<div class="collections">
3-
<CollectionList></CollectionList>
3+
<en-collection-list/>
44
</div>
55
</template>
66

@@ -10,7 +10,7 @@ import CollectionList from '@/components/CollectionList.vue';
1010
1111
@Component({
1212
components: {
13-
CollectionList,
13+
'en-collection-list': CollectionList,
1414
},
1515
})
1616

0 commit comments

Comments
 (0)