mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-15 12:20:31 +00:00
fix(webapp): use all drawers name from common enum object
This commit is contained in:
@@ -23,7 +23,7 @@ function CreditNoteUniversalSearchSelectComponent({
|
||||
openDrawer,
|
||||
}) {
|
||||
if (resourceType === RESOURCES_TYPES.CREDIT_NOTE) {
|
||||
openDrawer(DRAWERS.CREDIT_NOTE_DETAIL_DRAWER, { creditNoteId: resourceId });
|
||||
openDrawer(DRAWERS.CREDIT_NOTE_DETAILS, { creditNoteId: resourceId });
|
||||
onAction && onAction();
|
||||
}
|
||||
return null;
|
||||
|
||||
Reference in New Issue
Block a user