File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
backend/src/services/member
frontend/src/modules/lf/layout/components Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -25,13 +25,11 @@ export default class MemberAttributesService extends LoggerBase {
25
25
this . options = options
26
26
}
27
27
28
- // Member attributes
29
28
async list ( memberId : string ) : Promise < IAttributes > {
30
29
const qx = SequelizeRepository . getQueryExecutor ( this . options )
31
30
32
- // Get member attributes
33
31
const result = await fetchMemberAttributes ( qx , memberId )
34
- if ( ! result . length ) {
32
+ if ( ! result ) {
35
33
throw new Error404 ( 'Attributes not found for the given member!' )
36
34
}
37
35
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ const { updateSelectedProjectGroup } = lsSegmentsStore;
140
140
const searchQuery = ref (' ' );
141
141
const isPopoverVisible = ref (false );
142
142
const searchValue = useDebounce (searchQuery , 300 );
143
- const isSearchVisible = computed (() => projectGroupsList .value .length > 5 );
143
+ const isSearchVisible = computed (() => projectGroupsList .value .length > 5 || searchQuery . value . length > 0 );
144
144
145
145
let scrollContainer: HTMLElement | null = null ;
146
146
You can’t perform that action at this time.
0 commit comments