Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/pages/History.vue
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function rowProps({item}: {item: any}) {
const isDateRange = (date: DateRange | string[]): date is DateRange => !(date instanceof Array)

function selectItem(item: History) {
router.push({path: `/alert/${item.id}`, query: {redirect: route.fullPath}})
router.push({path: `/alert/${item.alertId}`, query: {redirect: route.fullPath}})
}

function setEnv(env: string) {
Expand Down
1 change: 1 addition & 0 deletions src/plugins/store/types/alerts-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ interface Note {

export interface History {
id: string
alertId: string
href: string
environment: string
attributes: Attributes
Expand Down
Loading