浏览代码

snapshot: copy correct props when creating a snapshot

Marcus Efraimsson 7 年之前
父节点
当前提交
a738347957
共有 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();