File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ services:
55 user : postgres
66 restart : always
77 healthcheck :
8- test : ' pg_isready -U user --dbname=postgres'
8+ test : pg_isready -U user --dbname=postgres
99 interval : 10s
1010 timeout : 5s
1111 retries : 5
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export function useQuery<
2020 const query = toValue ( _query ) as AdvancedQuery < TSchema , TTable , TReturn >
2121 const view = shallowRef ( query . materialize ( vueViewFactory ) )
2222
23- if ( isRef ( _query ) || _query instanceof Function ) {
23+ if ( isRef ( _query ) || typeof _query === 'function' ) {
2424 watch ( _query , ( query ) => {
2525 view . value . destroy ( )
2626 view . value = ( query as AdvancedQuery < TSchema , TTable , TReturn > ) . materialize ( vueViewFactory )
You can’t perform that action at this time.
0 commit comments