Просмотр исходного кода

Merge pull request #12317 from grafana/12278_snapshot_annotations

Copy correct annotation props when creating a snapshot
Marcus Efraimsson 7 лет назад
Родитель
Сommit
9271e48513
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      public/app/features/dashboard/share_snapshot_ctrl.ts

+ 3 - 0
public/app/features/dashboard/share_snapshot_ctrl.ts

@@ -123,6 +123,9 @@ export class ShareSnapshotCtrl {
             enable: annotation.enable,
             iconColor: annotation.iconColor,
             snapshotData: annotation.snapshotData,
+            type: annotation.type,
+            builtIn: annotation.builtIn,
+            hide: annotation.hide,
           };
         })
         .value();