Skip to content

Commit 8ea7246

Browse files
committed
[NAE-2251] NAE - Map field options are not translated
- fix tests
1 parent f717a58 commit 8ea7246

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

projects/netgrif-components-core/src/lib/panel/case-panel/abstract-case-panel.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ class TestWrapperComponent {
163163
{stringId: 'date', title: 'string', type: 'date', value: [2020, 1, 1, 10, 10]},
164164
{stringId: 'string', title: 'string', type: 'string', value: 'dasdsadsad'},
165165
{stringId: 'dateTime', title: 'string', type: 'dateTime', value: [2020, 1, 1, 10, 10]},
166-
{stringId: 'enum', title: 'string', type: 'enumeration', value: {defaultValue: 'dasd'}},
166+
{stringId: 'enum', title: 'string', type: 'enumeration', value: {defaultValue: 'dasd', translations: {}}},
167167
]
168168
};
169169
}

projects/netgrif-components/src/lib/panel/case-panel/case-panel.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class TestWrapperComponent {
104104
{stringId: 'date', title: 'string', type: 'date', value: [2020, 1, 1, 10, 10]},
105105
{stringId: 'string', title: 'string', type: 'string', value: 'dasdsadsad'},
106106
{stringId: 'dateTime', title: 'string', type: 'dateTime', value: [2020, 1, 1, 10, 10]},
107-
{stringId: 'enum', title: 'string', type: 'enumeration', value: {defaultValue: 'dasd'}},
107+
{stringId: 'enum', title: 'string', type: 'enumeration', value: {defaultValue: 'dasd', translations: {}}},
108108
]
109109
};
110110
}

0 commit comments

Comments
 (0)