Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit a664da5

Browse files
disabled drag for mfe (#180)
1 parent 9fb28df commit a664da5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎public/app/features/dashboard/dashgrid/DashboardGrid.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ export class Component extends PureComponent<Props> {
153153
this.gridWidth = gridWidth;
154154
}
155155

156-
console.log('this.props.dashboard.panels', config.theme2.shape.radius.default);
157-
158156
for (const panel of this.props.dashboard.panels) {
159157
const panelClasses = classNames({ 'react-grid-item--fullscreen': panel.isViewing });
160158

@@ -255,8 +253,8 @@ export class Component extends PureComponent<Props> {
255253
<div style={{ width: width, height: '100%' }} ref={this.onGetWrapperDivRef}>
256254
<ReactGridLayout
257255
width={width}
258-
isDraggable={(isLg&&isFnDashboard)|| draggable}
259-
isResizable={isLg&&isFnDashboard ? true : isEditable}
256+
isDraggable={isFnDashboard ? false : draggable}
257+
isResizable={isFnDashboard ? false : isEditable}
260258
containerPadding={[0, 0]}
261259
useCSSTransforms={true}
262260
margin={[GRID_CELL_VMARGIN, GRID_CELL_VMARGIN]}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /