function expandInlineDashboard(dashboard) {
  return {
    name: "",
    parameters: [],
    ...dashboard,
    ordered_cards: dashboard.ordered_cards.map(dashcard => ({
      visualization_settings: {},
      parameter_mappings: [],
      ...dashcard,
      id: _.uniqueId("dashcard"),
      card: expandInlineCard(dashcard.card),
      series: (dashcard.series || []).map(card => expandInlineCard(card)),
    })),
  };
}
// This adds default properties and placeholder IDs for an inline dashboard
This adds default properties and placeholder IDs for an inline dashboard
This adds default properties and placeholder IDs for an inline dashboard
function expandInlineDashboard(dashboard) {
  return {
    name: "",
    parameters: [],
    ...dashboard,
    ordered_cards: dashboard.ordered_cards.map(dashcard => ({
      visualization_settings: {},
      parameter_mappings: [],
      ...dashcard,
      id: _.uniqueId("dashcard"),
      card: expandInlineCard(dashcard.card),
      series: (dashcard.series || []).map(card => expandInlineCard(card)),
    })),
  };
}
function expandInlineDashboard ( dashboard ) { return { name : "" , parameters : [ ] , ... dashboard , ordered_cards : dashboard . ordered_cards . map ( dashcard => ( { visualization_settings : { } , parameter_mappings : [ ] , ... dashcard , id : _ . uniqueId ( "dashcard" ) , card : expandInlineCard ( dashcard . card ) , series : ( dashcard . series || [ ] ) . map ( card => expandInlineCard ( card ) ) , } ) ) , } ; }
This adds default properties and placeholder IDs for an inline dashboard
This adds default properties and placeholder IDs for an inline dashboard