// (C) 2026 GoodData Corporation
import { put, select } from "redux-saga/effects";
import { selectIsInEditMode } from "../../store/renderMode/renderModeSelectors.js";
import { uiActions } from "../../store/ui/index.js";
export function* requestOpenDensityDialogHandler(_ctx, _cmd) {
    const isInEditMode = yield select(selectIsInEditMode);
    if (isInEditMode) {
        return;
    }
    yield put(uiActions.openDensityDialog());
}
//# sourceMappingURL=requestOpenDensityDialogHandler.js.map