File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import { MenuItem } from 'primeng/api'
7
7
import { ManagementService } from '../backend/api/management.service'
8
8
import { ExecutionService } from '../backend/api/execution.service'
9
9
import { BreadcrumbsService } from '../breadcrumbs.service'
10
+ import { datetimeToLocal } from '../utils'
10
11
11
12
@Component ( {
12
13
selector : 'app-breadcrumbs' ,
@@ -222,13 +223,16 @@ export class BreadcrumbsComponent implements OnInit {
222
223
case 'Flows' :
223
224
const flowsKey = this . getFlowsKey ( )
224
225
this . crumbMenuItems = this . flows [ flowsKey ] . map ( ( f ) => {
225
- let label = f . label
226
+ let d = datetimeToLocal ( f . created , 'yyyy-LL-dd' )
227
+ let label = `${ f . label } <small style="color:#aaa">${ d } </small>`
226
228
if ( f . id === this . currFlowId ) {
227
229
label += ' <='
230
+ label = `<b>${ label } </b>`
228
231
}
229
232
return {
230
233
label : label ,
231
234
routerLink : '/flows/' + f . id ,
235
+ escape : false ,
232
236
}
233
237
} )
234
238
break
You can’t perform that action at this time.
0 commit comments