Skip to content

Commit

Permalink
Fix saved visualization edit url in visualize (opensearch-project#359)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Li <joshuali925@gmail.com>
(cherry picked from commit 138fbe1)
  • Loading branch information
joshuali925 committed Apr 17, 2023
1 parent dd66f68 commit 282e50f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export class ObservabilityPlugin
toListItem: ({ id, attributes, updated_at: updatedAt }) => ({
description: attributes?.description,
editApp: observabilityID,
editUrl: `#/event_analytics/explorer/${id}`,
editUrl: `#/event_analytics/explorer/${VISUALIZATION_SAVED_OBJECT}:${id}`,
icon: OBSERVABILITY_EMBEDDABLE_ICON,
id,
savedObjectType: VISUALIZATION_SAVED_OBJECT,
Expand Down

0 comments on commit 282e50f

Please sign in to comment.