Skip to content

Commit

Permalink
fix merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwizp committed May 8, 2020
1 parent 27dae1f commit cc0b984
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -215,8 +215,7 @@ export class IndexPattern implements IIndexPattern {
// 2019-12-01 The usage of kbnUrl had to be removed due to the transition to NP.
// It's now temporarily replaced by a simple replace of the single argument used by all URLs.
// Once kbnUrl is migrated to NP, this can be updated.
const editUrlTemplate = getRoutes().edit;
const editUrl = '/app/kibana#' + editUrlTemplate.replace('{{id}}', this.id!);
const editUrl = `/app/kibana#/management/kibana/index_patterns/${this.id! || ''}`;

const { toasts } = getNotifications();

Expand Down

0 comments on commit cc0b984

Please sign in to comment.