Sfoglia il codice sorgente

snapshot: copy correct props when creating a snapshot

Marcus Efraimsson 7 anni fa
parent
commit
a738347957
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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();