-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: replace ticket types ddl with uicore component #540
Conversation
placeholder={T.translate( | ||
"ticket_list.placeholders.ticket_types" | ||
)} | ||
name="ticketTypesFilter" | ||
value={ticketFilters.ticketTypesFilter} | ||
onChange={(val) => | ||
this.handleFilterChange("ticketTypesFilter", val) | ||
onChange={(ev) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lets create a helper method to translate the value retrieved by TicketTypesInput to the ones expected by the actions ( rollback action changes )
also review ticket action https://github.com/fntechgit/summit-admin/pull/540/files#diff-e34888831de52961fbe9061efcda081680b4ff79c8211c5b93069c37b2879c2eR199
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tomrndom review comments
also review use
ticketTypes = currentSummit.ticket_types.filter( |
lets use the uicore version of the method as stated on the tix description or lets create our own vesion
and on case like
https://github.com/fntechgit/summit-admin/blob/master/src/components/forms/tax-type-form.js#L105
that use a SimpleLinkList
use query action queryTicketTypes from uicore
c34ca28
to
f3b429b
Compare
Signed-off-by: Tomás Castillo <[email protected]>
Signed-off-by: Tomás Castillo <[email protected]>
Signed-off-by: Tomás Castillo <[email protected]>
Signed-off-by: Tomás Castillo <[email protected]>
Signed-off-by: Tomás Castillo <[email protected]>
Signed-off-by: Tomás Castillo <[email protected]>
Signed-off-by: Tomás Castillo <[email protected]>
Signed-off-by: Tomás Castillo <[email protected]>
Signed-off-by: Tomás Castillo <[email protected]>
52d9170
to
7ae3823
Compare
Signed-off-by: Tomás Castillo <[email protected]>
Signed-off-by: Tomás Castillo <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
ref: https://tipit.avaza.com/task#!sortby=DateUpdatedDesc&task=3669838
Signed-off-by: Tomás Castillo [email protected]