diff --git a/src/admin/components/edition/term-edition-form.vue b/src/admin/components/edition/term-edition-form.vue
index 76cd5d2bb..4ecf148a2 100644
--- a/src/admin/components/edition/term-edition-form.vue
+++ b/src/admin/components/edition/term-edition-form.vue
@@ -155,7 +155,18 @@
@focus="clearErrors('parent');"
:disabled="!hasParent">
- {{ props.option.name }}
+
{{ $i18n.get('info_no_parent_term_found') }}
diff --git a/src/admin/scss/_dropdown-and-autocomplete.scss b/src/admin/scss/_dropdown-and-autocomplete.scss
index 6ab98fb20..1c3270cbc 100644
--- a/src/admin/scss/_dropdown-and-autocomplete.scss
+++ b/src/admin/scss/_dropdown-and-autocomplete.scss
@@ -51,19 +51,22 @@
.is-small { color: $gray4; }
&.is-active { background-color: $turquoise2; }
- .media-left {
- margin-right: 0.5rem;
- }
- .media-content {
- display: flex;
+ .media {
align-items: center;
- width: 80%;
+
+ .media-left {
+ margin-right: 0.5rem;
+ }
+ .media-content {
+ display: flex;
+ width: 80%;
- .ellipsed-text {
- overflow-x: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- margin-right: 3px;
+ .ellipsed-text {
+ overflow-x: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ margin-right: 3px;
+ }
}
}
}
diff --git a/src/admin/scss/_variables.scss b/src/admin/scss/_variables.scss
index dcce3f443..142e9739a 100644
--- a/src/admin/scss/_variables.scss
+++ b/src/admin/scss/_variables.scss
@@ -121,7 +121,7 @@ $subheader-height: 42px;
$side-menu-width: 160px;
$filter-menu-width: 16.666666667%;
$filter-menu-width-theme: 20.833333333%;
-$page-height: calc(100% - 94px);
+$page-height: calc(100vh - 94px);
// Overall Pages padding:
$page-side-padding: 4.166666667%;//82px;
diff --git a/src/classes/filter-types/autocomplete/Autocomplete.vue b/src/classes/filter-types/autocomplete/Autocomplete.vue
index 11d99df6f..a780b119d 100644
--- a/src/classes/filter-types/autocomplete/Autocomplete.vue
+++ b/src/classes/filter-types/autocomplete/Autocomplete.vue
@@ -20,7 +20,7 @@
+ :src="props.option.img">
{{ props.option.label }}
@@ -148,15 +148,4 @@
}
}
}
-
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/src/classes/filter-types/filter-types-mixin.js b/src/classes/filter-types/filter-types-mixin.js
index a452caf21..d3adc7190 100644
--- a/src/classes/filter-types/filter-types-mixin.js
+++ b/src/classes/filter-types/filter-types-mixin.js
@@ -276,13 +276,14 @@ export const dynamicFilterTypeMixin = {
sResults.push({
label: item.label,
value: item.value,
+ img: item.thumbnail && item.thumbnail['tainacan-small'] && item.thumbnail['tainacan-small'][0] ? item.thumbnail['tainacan-small'][0] : (item.img ? item.img : ''),
total_items: item.total_items
});
} else if (indexToIgnore < 0) {
opts.push({
label: item.label,
value: item.value,
- img: (item.img ? item.img : this.thumbPlaceholderPath),
+ img: item.thumbnail && item.thumbnail['tainacan-small'] && item.thumbnail['tainacan-small'][0] ? item.thumbnail['tainacan-small'][0] : (item.img ? item.img : ''),
total_items: item.total_items
});
}
@@ -291,14 +292,14 @@ export const dynamicFilterTypeMixin = {
sResults.push({
label: item.label,
value: item.value,
- img: (item.img ? item.img : this.thumbPlaceholderPath),
+ img: item.thumbnail && item.thumbnail['tainacan-small'] && item.thumbnail['tainacan-small'][0] ? item.thumbnail['tainacan-small'][0] : (item.img ? item.img : ''),
total_items: item.total_items
});
} else {
opts.push({
label: item.label,
value: item.value,
- img: (item.img ? item.img : this.thumbPlaceholderPath),
+ img: item.thumbnail && item.thumbnail['tainacan-small'] && item.thumbnail['tainacan-small'][0] ? item.thumbnail['tainacan-small'][0] : (item.img ? item.img : ''),
total_items: item.total_items
});
}