aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main/buttons/action-dropdown.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared-main/buttons/action-dropdown.component.ts')
-rw-r--r--client/src/app/shared/shared-main/buttons/action-dropdown.component.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/shared/shared-main/buttons/action-dropdown.component.ts b/client/src/app/shared/shared-main/buttons/action-dropdown.component.ts
index 749773f8a..ad55677d8 100644
--- a/client/src/app/shared/shared-main/buttons/action-dropdown.component.ts
+++ b/client/src/app/shared/shared-main/buttons/action-dropdown.component.ts
@@ -1,4 +1,5 @@
1import { Component, Input } from '@angular/core' 1import { Component, Input } from '@angular/core'
2import { Params } from '@angular/router'
2import { GlobalIconName } from '@app/shared/shared-icons' 3import { GlobalIconName } from '@app/shared/shared-icons'
3 4
4export type DropdownAction<T> = { 5export type DropdownAction<T> = {
@@ -7,7 +8,10 @@ export type DropdownAction<T> = {
7 description?: string 8 description?: string
8 title?: string 9 title?: string
9 handler?: (a: T) => any 10 handler?: (a: T) => any
11
10 linkBuilder?: (a: T) => (string | number)[] 12 linkBuilder?: (a: T) => (string | number)[]
13 queryParamsBuilder?: (a: T) => Params
14
11 isDisplayed?: (a: T) => boolean 15 isDisplayed?: (a: T) => boolean
12 16
13 class?: string[] 17 class?: string[]