fix: dashboard url error when edit slug (#15893)

This commit is contained in:
Yongjie Zhao 2021-07-27 01:49:29 +01:00 committed by GitHub
parent eeba326f8b
commit 315c52a328
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -166,6 +166,7 @@ function DashboardList(props: DashboardListProps) {
slug = '',
json_metadata = '',
changed_on_delta_humanized,
url = '',
} = json.result;
return {
...dashboard,
@ -176,6 +177,7 @@ function DashboardList(props: DashboardListProps) {
slug,
json_metadata,
changed_on_delta_humanized,
url,
};
}
return dashboard;