[CORD-1651] Add action to xosTable to navigate to the detail page
Change-Id: Id948d83bcc039287fa7841908214b2d856844af8
(cherry picked from commit 2c61b883912f73875b819961fb54d946f42ba529)
diff --git a/src/app/core/services/helpers/config.helpers.ts b/src/app/core/services/helpers/config.helpers.ts
index 5dbd74e..85039fe 100644
--- a/src/app/core/services/helpers/config.helpers.ts
+++ b/src/app/core/services/helpers/config.helpers.ts
@@ -121,6 +121,13 @@
},
actions: [
{
+ label: 'details',
+ icon: 'search',
+ cb: (item) => {
+ this.$state.go(this.$state.current.name, {id: item.id});
+ }
+ },
+ {
label: 'delete',
icon: 'remove',
color: 'red',