Skip to content

Commit 609b57a

Browse files
authored
Merge pull request #807 from hmcts/CCD-1047-underscore
Ccd 1047 isEmpty changes
2 parents feac042 + 5d53581 commit 609b57a

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@hmcts/ccd-case-ui-toolkit",
3-
"version": "2.64.7-EUI-CCD-RDM-8661-MoneyGBP",
3+
"version": "2.64.7-EUI-CCD-CCD-1047-Underscore-Import",
44
"engines": {
55
"yarn": "^1.12.3",
66
"npm": "^5.6.0"

src/shared/directives/conditional-show/domain/conditional-show.model.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
1-
import { CaseField } from '../../../domain/definition';
2-
import { FieldsUtils } from '../../../services/fields';
3-
import { _ as _score } from 'underscore';
1+
import * as _score from 'underscore';
2+
3+
import { CaseField } from '../../../domain/definition/case-field.model';
4+
import { FieldsUtils } from '../../../services/fields/fields.utils';
45

56
export class ShowCondition {
67

src/shared/domain/definition/case-field.model.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
import * as _ from 'underscore'
2+
13
import { Orderable } from '../order';
24
import { FieldType } from './field-type.model';
35
import { WizardPageField } from '../../components/case-editor/domain';
46
import { Expose, Type } from 'class-transformer';
57
import { AccessControlList } from './access-control-list.model';
6-
import { _ } from 'underscore';
78

89
// @dynamic
910
export class CaseField implements Orderable {

0 commit comments

Comments
 (0)