File tree 1 file changed +2
-4
lines changed
public/app/features/dashboard/dashgrid
1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -153,8 +153,6 @@ export class Component extends PureComponent<Props> {
153
153
this . gridWidth = gridWidth ;
154
154
}
155
155
156
- console . log ( 'this.props.dashboard.panels' , config . theme2 . shape . radius . default ) ;
157
-
158
156
for ( const panel of this . props . dashboard . panels ) {
159
157
const panelClasses = classNames ( { 'react-grid-item--fullscreen' : panel . isViewing } ) ;
160
158
@@ -255,8 +253,8 @@ export class Component extends PureComponent<Props> {
255
253
< div style = { { width : width , height : '100%' } } ref = { this . onGetWrapperDivRef } >
256
254
< ReactGridLayout
257
255
width = { width }
258
- isDraggable = { ( isLg && isFnDashboard ) || draggable }
259
- isResizable = { isLg && isFnDashboard ? true : isEditable }
256
+ isDraggable = { isFnDashboard ? false : draggable }
257
+ isResizable = { isFnDashboard ? false : isEditable }
260
258
containerPadding = { [ 0 , 0 ] }
261
259
useCSSTransforms = { true }
262
260
margin = { [ GRID_CELL_VMARGIN , GRID_CELL_VMARGIN ] }
You can’t perform that action at this time.
0 commit comments