refactor: update create/update issue modal to use currently active store's create/update method. (#3395)
* refactor: update `create/update issue` modal to use currently active store's create/update method. * chore: add condition to avoid multiple API calls if the current store is MODULE or CYCLE. * remove: console log * chore: update `currentStore` to `storeType`.
This commit is contained in:
parent
3f07c48b35
commit
f347c1cd69
29 changed files with 251 additions and 102 deletions
|
|
@ -75,7 +75,7 @@ export const ModuleEmptyState: React.FC<Props> = observer((props) => {
|
|||
icon: <PlusIcon className="h-3 w-3" strokeWidth={2} />,
|
||||
onClick: () => {
|
||||
setTrackElement("MODULE_EMPTY_STATE");
|
||||
toggleCreateIssueModal(true);
|
||||
toggleCreateIssueModal(true, EIssuesStoreType.MODULE);
|
||||
},
|
||||
}}
|
||||
secondaryButton={
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue