File tree Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Expand file tree Collapse file tree 2 files changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -63,13 +63,14 @@ var HomeView = View.extend({
63
63
this . renderSubview ( new TourView ( ) , this . queryByHook ( 'tour-container' ) ) ;
64
64
} ,
65
65
onInstanceFetched : function ( ) {
66
- if ( app . instance . collections . length === 0 ) {
67
- this . showNoCollectionsZeroState = true ;
68
- } else {
69
- this . showDefaultZeroState = true ;
70
- }
71
66
if ( ! this . ns ) {
72
67
app . instance . collections . unselectAll ( ) ;
68
+
69
+ if ( app . instance . collections . length === 0 ) {
70
+ this . showNoCollectionsZeroState = true ;
71
+ } else {
72
+ this . showDefaultZeroState = true ;
73
+ }
73
74
} else {
74
75
this . showCollection ( app . instance . collections . get ( this . ns ) ) ;
75
76
}
Original file line number Diff line number Diff line change 91
91
display : flex ;
92
92
overflow : hidden ;
93
93
height : 100vh ;
94
- margin-top : -168 px ; // total computed header + .refine-view-container height
95
- padding-top : 168 px ; // total computed header + .refine-view-container height
94
+ margin-top : -155 px ; // total computed header + .refine-view-container height
95
+ padding-top : 155 px ; // total computed header + .refine-view-container height
96
96
position : relative ;
97
97
width : 100% ;
98
98
}
You can’t perform that action at this time.
0 commit comments