Explorar o código

snapshot: copy correct props when creating a snapshot

Marcus Efraimsson %!s(int64=7) %!d(string=hai) anos
pai
achega
a738347957
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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();