Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📰 Show 'publish' button for draft submissions #439

Merged
merged 2 commits into from
May 6, 2024

Conversation

ClumsyVlad
Copy link
Member

No description provided.

@ClumsyVlad
Copy link
Member Author

ClumsyVlad commented May 6, 2024

Base automatically changed from add-edit-submission-action-permission to main May 6, 2024 12:17
@nezouse nezouse force-pushed the show-publish-button-for-draft-submissions branch from f711567 to 8569859 Compare May 6, 2024 12:18
@@ -15,30 +15,35 @@ export async function ApplicationUserButtons({
}) {
const { draft } = application;
const { validationErrorMessage } = await canPublishDraft(application);
const canPublish = draft && !!validationErrorMessage;
const canPublish = draft && !validationErrorMessage;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe isPublishDisabled

Copy link

github-actions bot commented May 6, 2024

▲ Vercel deployment successful! Preview Link

@ClumsyVlad ClumsyVlad force-pushed the show-publish-button-for-draft-submissions branch from 8569859 to 6210fc9 Compare May 6, 2024 12:37
@nezouse nezouse merged commit 439a6a0 into main May 6, 2024
5 checks passed
@nezouse nezouse deleted the show-publish-button-for-draft-submissions branch May 6, 2024 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants