Resolve frontend/backend contradiction for home visibility embeds
- Dec 08, 2024
-
-
Charlotte authored
This now uses the same check from `packages/frontend/src/scripts/get-note-menu.ts`
85bbfd2e
-
This MR resolves a contradiction between frontend and backend code that didn't allow posts set to Home visibility to be embedded, causing the Generate Embed Code popup to load forever.
In order to do this, the check from the frontend is copied to the backend.
The contradiction in question:
This issue also exists on upstream:
By submitting this merge request, you agree to follow our Contribution Guidelines
This now uses the same check from `packages/frontend/src/scripts/get-note-menu.ts`