File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
views/admin/hook-task/show Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ const DESC: direction = 'desc';
8
8
export enum ColumnType {
9
9
TEXT = 'text' ,
10
10
ICON = 'icon' ,
11
+ LINK_CLICK = 'link-click' ,
11
12
LINK = 'link' ,
12
13
ROUTER_LINK = 'router-link' ,
13
14
ROUTER_LINK_WITH_ICONS = 'router-link-with-icons' ,
Original file line number Diff line number Diff line change 58
58
< a *ngSwitchCase ="'router-link' " class ="ui " [routerLink] ="c.selector.link ">
59
59
{{c.selector.value}}
60
60
</ a >
61
- < a *ngSwitchCase ="'link' " class ="ui pointing " (click) ="c.selector.callback() ">
61
+ < a *ngSwitchCase ="'link-click' " class ="ui pointing " (click) ="c.selector.callback() ">
62
+ {{c.selector.value}}
63
+ </ a >
64
+ < a *ngSwitchCase ="'link' " class ="ui pointing " [href] ="c.selector.link " target ="_blank ">
62
65
{{c.selector.value}}
63
66
</ a >
64
67
< markdown *ngSwitchCase ="'markdown' " [data] ="c.selector "> </ markdown >
105
108
</ td >
106
109
</ tr >
107
110
</ tfoot >
108
- </ table >
111
+ </ table >
Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ export class HookTaskShowComponent {
61
61
}
62
62
} ,
63
63
< Column < TaskExecution > > {
64
- type : ColumnType . LINK ,
64
+ type : ColumnType . LINK_CLICK ,
65
65
name : 'action' ,
66
66
selector : ( d : TaskExecution ) => {
67
67
return {
You can’t perform that action at this time.
0 commit comments