This reverts commit f3143d99ee.
This commit is contained in:
1 parent
f3143d99ee
commit
c8b01f6992
3 files changed
+6
-12
No files matched your search
@@ -18,7 +18,6 @@ export interface Option {
|
||||
teamId: number | null | undefined; // if undefined, then it's a profile
|
||||
label: string | null;
|
||||
image?: string | null;
|
||||
slug: string | null;
|
||||
}
|
||||
|
||||
interface CreateBtnProps {
|
||||
@@ -44,7 +43,7 @@ export function CreateButton(props: CreateBtnProps) {
|
||||
const query = {
|
||||
...router.query,
|
||||
dialog: "new",
|
||||
eventPage: option.slug,
|
||||
eventPage: option.label,
|
||||
teamId: option.teamId,
|
||||
};
|
||||
if (!option.teamId) {
|
||||
|
||||
Reference in new issue
Block a user