File tree 3 files changed +12
-9
lines changed
3 files changed +12
-9
lines changed Original file line number Diff line number Diff line change 55
55
padding : 0 30px 0 10px ;
56
56
background : $darkBlue ;
57
57
border-radius : 5px ;
58
+ color : white ;
58
59
59
60
div {
60
61
overflow-x : hidden ;
Original file line number Diff line number Diff line change @@ -174,7 +174,8 @@ export default class ExplorerQueryComposer extends React.Component {
174
174
groups : query . groups || defaultState . groups ,
175
175
limit : query . limit || defaultState . limit ,
176
176
filters : query . filters || [ ] ,
177
- orders : query . orders || [ ]
177
+ orders : query . orders || [ ] ,
178
+ isSaved : query . isSaved || false
178
179
} ;
179
180
}
180
181
@@ -602,13 +603,14 @@ export default class ExplorerQueryComposer extends React.Component {
602
603
headerView = (
603
604
< div className = { [ base . center , styles . headerView ] . join ( ' ' ) } >
604
605
< h3 className = { styles . headerLabel } > { this . state . name || 'Build a custom query' } </ h3 >
605
- { isNew ? null : < a
606
- href = 'javascript:;'
607
- role = 'button'
608
- className = { [ styles . headerButton , styles . secondaryColor ] . join ( ' ' ) }
609
- onClick = { this . toggleEditing . bind ( this ) } >
610
- { this . state . isSaved ? 'Rename' : 'Save' }
611
- </ a > }
606
+ { isNew ? null :
607
+ < Button
608
+ color = 'white'
609
+ primary = { true }
610
+ value = { this . state . isSaved ? 'Rename' : 'Save' }
611
+ onClick = { this . toggleEditing . bind ( this ) } >
612
+ </ Button >
613
+ }
612
614
</ div >
613
615
) ;
614
616
}
Original file line number Diff line number Diff line change 36
36
.del {
37
37
position : absolute ;
38
38
right : 24px ;
39
- color : #d8d8d8 ;
39
+ color : $red ;
40
40
font-size : 18px ;
41
41
line-height : 18px ;
42
42
}
You can’t perform that action at this time.
0 commit comments