Fixes not displayed by default metadata that where passed to fecth only when using template view modes.

This commit is contained in:
mateuswetah 2018-06-01 13:49:56 -03:00
parent 25bc5cbbdf
commit b44d006148
2 changed files with 8 additions and 4 deletions

View File

@ -491,11 +491,12 @@
for (let field of this.fields) {
if (field.display !== 'never') {
let display = true;
let display;
if (field.display === 'no') {
if (field.display == 'no')
display = false;
}
else if (field.display == 'yes')
display = true;
this.tableFields.push(
{
@ -508,7 +509,8 @@
display: display
}
);
fetchOnlyFieldIds.push(field.id);
if (display)
fetchOnlyFieldIds.push(field.id);
}
}
@ -745,6 +747,7 @@
.table-container {
padding-left: 8.333333%;
padding-right: 8.333333%;
min-height: 200px;
//height: calc(100% - 82px);
}

View File

@ -463,6 +463,7 @@ export default {
#items-list-area {
width: 100%;
overflow-y: unset;
}
}