AvailableImportersModal now lists only those with manual colleciton setting when coming from Items Page.
This commit is contained in:
parent
ecc99ebd61
commit
11ae16ea53
|
@ -64,7 +64,7 @@
|
||||||
</th>
|
</th>
|
||||||
<!-- Total Items -->
|
<!-- Total Items -->
|
||||||
<th v-if="!isOnTrash">
|
<th v-if="!isOnTrash">
|
||||||
<div class="th-wrap">{{ $i18n.get('label_total_items') }}</div>
|
<div class="th-wrap total-items-header">{{ $i18n.get('label_total_items') }}</div>
|
||||||
</th>
|
</th>
|
||||||
<th class="actions-header">
|
<th class="actions-header">
|
||||||
|
|
||||||
|
@ -400,6 +400,10 @@ export default {
|
||||||
border-radius: 50px !important;
|
border-radius: 50px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.total-items-header {
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
class="importer-type"
|
class="importer-type"
|
||||||
v-for="importerType in availableImporters"
|
v-for="importerType in availableImporters"
|
||||||
:key="importerType.slug"
|
:key="importerType.slug"
|
||||||
|
v-if="!(hideWhenManualCollection && !importerType.manual_collection)"
|
||||||
@click="onSelectImporter(importerType)">
|
@click="onSelectImporter(importerType)">
|
||||||
<h4>{{ importerType.name }}</h4>
|
<h4>{{ importerType.name }}</h4>
|
||||||
<p>{{ importerType.description }}</p>
|
<p>{{ importerType.description }}</p>
|
||||||
|
@ -45,7 +46,8 @@ import { mapActions } from 'vuex';
|
||||||
export default {
|
export default {
|
||||||
name: 'AvailableImportersModal',
|
name: 'AvailableImportersModal',
|
||||||
props: {
|
props: {
|
||||||
targetCollection: Number
|
targetCollection: Number,
|
||||||
|
hideWhenManualCollection: false
|
||||||
},
|
},
|
||||||
data(){
|
data(){
|
||||||
return {
|
return {
|
||||||
|
@ -94,7 +96,7 @@ export default {
|
||||||
border-bottom: none;
|
border-bottom: none;
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: $primary-lighter;
|
background-color: $tainacan-input-background;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue