Untitled

 avatar
unknown
typescript
3 years ago
405 B
4
Indexable
    checkDisableCheckBoxAll(wbsItem: any): Observable<boolean> {
        return this.wbsApi.getWbsProperties(wbsItem.id, this.constructTypeId)
            .pipe(
                map((res) => {
                    if (!res) {
                        return false;
                    }
                    return res.some(item => item.isMustFill === true);
                })
            );
    }
Editor is loading...