Imported some enhancements from IVIS. Candidate for a fix for #571.

This commit is contained in:
Tomas Bures 2019-04-15 18:47:30 +02:00
parent d0d42ab280
commit b8f8750afd
11 changed files with 6 additions and 42252 deletions

12259
client/package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -253,10 +253,7 @@ export function getTemplateTypes(t, prefix = '', entityTypeId = ResourceType.TEM
const grapesJSSourceTypes = getGrapesJSSourceTypeOptions(t);
const grapesJSSourceTypeLabels = {};
for ({
key,
label
} of grapesJSSourceTypes) {
for (const { key, label } of grapesJSSourceTypes) {
grapesJSSourceTypeLabels[key] = label;
}