Skip to content

Commit

Permalink
fix: allow updating the custom domain in the admin explorer.
Browse files Browse the repository at this point in the history
  • Loading branch information
zicklag committed Oct 14, 2024
1 parent ff251a7 commit 85c6ad9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ export const actions = {
if (pubpageTheme == '') pubpageTheme = undefined;
components.push(pubpageTheme ? new WeirdPubpageTheme(pubpageTheme) : WeirdPubpageTheme);

// let customDomain: string | undefined = formData.get('customDomain')?.toString() || '';
// if (customDomain == '') customDomain = undefined;
// components.push(customDomain ? new WeirdCustomDomain(customDomain) : WeirdCustomDomain);
let customDomain: string | undefined = formData.get('customDomain')?.toString() || '';
if (customDomain == '') customDomain = undefined;
components.push(customDomain ? new WeirdCustomDomain(customDomain) : WeirdCustomDomain);

let commonMark: string | undefined = formData.get('commonMark')?.toString() || '';
if (commonMark == '') commonMark = undefined;
Expand Down

0 comments on commit 85c6ad9

Please sign in to comment.