This commit is contained in:
2022-01-12 22:56:11 +00:00
parent 4685d3bac7
commit 27fb6de01e
2 changed files with 12 additions and 5 deletions

View File

@@ -1144,10 +1144,17 @@ async function buildRecords(listData, columndefinitions, ridColumnOpenable) {
break;
case 10: //enum
display = window.$gz.enums.get(
columndefinitions[iColumn].et,
display
);
if (display != 0) {
display = `[${window.$gz.enums.get(
columndefinitions[iColumn].et,
display
)}]`;
} else {
display = window.$gz.enums.get(
columndefinitions[iColumn].et,
display
);
}
break;
case 14: //MemorySize (file size)
display = window.$gz.locale.humanFileSize(

View File

@@ -558,7 +558,7 @@ export default {
noSemanticValidation: false,
noSyntaxValidation: false,
noSuggestionDiagnostics: false,
diagnosticCodesToIgnore: [2393, 7044] //this hides a weird error about ayPrepareData being declared more than once which I think is more related to it being barebones in there
diagnosticCodesToIgnore: [2393, 7044] //2393 hides a weird error about ayPrepareData being declared more than once which I think is more related to it being barebones in there, 7044 hides a useless prompt about ayData parameter not being strongly typed
});
monaco.languages.typescript.javascriptDefaults.setCompilerOptions({
target: monaco.languages.typescript.ScriptTarget.ES6,