Add collection detail page (#37897)
This commit is contained in:
1 parent
bd64ca2583
commit
488e0b2617
17 files changed
+459
-144
No files matched your search
@@ -68,7 +68,7 @@ export const CollectionDetails: React.FC<{
|
||||
};
|
||||
|
||||
void dispatch(updateCollection({ payload })).then(() => {
|
||||
history.push(`/collections`);
|
||||
history.push(`/collections/${id}`);
|
||||
});
|
||||
} else {
|
||||
const payload: Partial<ApiCreateCollectionPayload> = {
|
||||
|
||||
@@ -68,7 +68,7 @@ export const CollectionSettings: React.FC<{
|
||||
};
|
||||
|
||||
void dispatch(updateCollection({ payload })).then(() => {
|
||||
history.push(`/collections`);
|
||||
history.push(`/collections/${id}`);
|
||||
});
|
||||
} else {
|
||||
const payload: ApiCreateCollectionPayload = {
|
||||
|
||||
Reference in new issue
Block a user