Dependency cleanup
This commit is contained in:
parent
2d892779bf
commit
2568547384
28 changed files with 170 additions and 482 deletions
|
|
@ -162,14 +162,6 @@ export const getTicketStatesAction = async () => {
|
|||
path: "/api/v1/ticket_states",
|
||||
});
|
||||
|
||||
return states;
|
||||
};
|
||||
|
||||
export const getTicketTagsAction = async () => {
|
||||
const states = await executeREST({
|
||||
path: "/api/v1/tags",
|
||||
});
|
||||
|
||||
const formattedStates =
|
||||
states?.map((state: any) => ({
|
||||
value: state.id,
|
||||
|
|
@ -179,6 +171,14 @@ export const getTicketTagsAction = async () => {
|
|||
return formattedStates;
|
||||
};
|
||||
|
||||
export const getTicketTagsAction = async () => {
|
||||
const tags = await executeREST({
|
||||
path: "/api/v1/tags",
|
||||
});
|
||||
|
||||
return tags;
|
||||
};
|
||||
|
||||
export const getTicketPrioritiesAction = async () => {
|
||||
const priorities = await executeREST({
|
||||
path: "/api/v1/ticket_priorities",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue