Checks single-valued terms in conditional metadata section.

This commit is contained in:
mateuswetah 2024-04-08 11:13:52 -03:00
parent b960848b23
commit 459cc1baff
2 changed files with 1 additions and 2 deletions

View File

@ -1201,7 +1201,7 @@ class Item extends Entity {
}, $term_values);
} else {
$term_values = $item_metadata->get_value();
$meta_values = $term_values == false ? [] : $term_values;
$meta_values = $term_values == false ? [] : [ $term_values->get_id() ];
}
} else {

View File

@ -341,7 +341,6 @@
border-bottom-right-radius: 0;
margin-right: -1px;
font-weight: normal;
line-height: 20px;
}
.button {
top: -3px;