// (C) 2021-2026 GoodData Corporation
import { put } from "redux-saga/effects";
import { dashboardRenamed } from "../../events/dashboard.js";
import { metaActions } from "../../store/meta/index.js";
export function* renameDashboardHandler(ctx, cmd) {
    const { newTitle } = cmd.payload;
    yield put(metaActions.setDashboardTitle(newTitle));
    return dashboardRenamed(ctx, newTitle, cmd.correlationId);
}
//# sourceMappingURL=renameDashboardHandler.js.map