mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
@@ -91,6 +91,8 @@ export class DashboardSrv {
|
|||||||
options: DashboardSaveOptions,
|
options: DashboardSaveOptions,
|
||||||
err: { data: { status: string; message: any }; isHandled: boolean }
|
err: { data: { status: string; message: any }; isHandled: boolean }
|
||||||
) {
|
) {
|
||||||
|
options.overwrite = true;
|
||||||
|
|
||||||
if (err.data && err.data.status === 'version-mismatch') {
|
if (err.data && err.data.status === 'version-mismatch') {
|
||||||
err.isHandled = true;
|
err.isHandled = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user