[ARVADOS-WORKBENCH2] updated: 1.2.0-721-g8f42eae

Git user git at public.curoverse.com
Tue Oct 23 06:25:02 EDT 2018


Summary of changes:
 src/views-components/search-bar/search-bar-advanced-view.tsx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

       via  8f42eae95848318db3f09a4424424560d36f2edd (commit)
      from  2d60a3a656babffec5eefc4e3a0e88c8237c3896 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 8f42eae95848318db3f09a4424424560d36f2edd
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Tue Oct 23 12:24:49 2018 +0200

    fix search disabling
    
    Feature #14391
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/views-components/search-bar/search-bar-advanced-view.tsx b/src/views-components/search-bar/search-bar-advanced-view.tsx
index 068ed16..bfa1e6a 100644
--- a/src/views-components/search-bar/search-bar-advanced-view.tsx
+++ b/src/views-components/search-bar/search-bar-advanced-view.tsx
@@ -69,6 +69,8 @@ interface SearchBarAdvancedViewDataProps {
 export interface Tags {
     values?: {
         properties?: { key: string, value: string },
+        value?: string;
+        key?: string;
     };
 }
 
@@ -159,7 +161,7 @@ export const SearchBarAdvancedView = compose(
                             <Grid container item xs={12} justify='flex-end'>
                                 <div className={classes.buttonWrapper}>
                                     <Button type="submit" className={classes.button}
-                                        disabled={invalid || submitting || pristine || !!(tags && !tags.values!.properties)}
+                                        disabled={invalid || submitting || pristine || !!((tags.values!.key || tags.values!.value) && !tags.values!.properties)}
                                         color="primary"
                                         size='small'
                                         variant="contained">

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list