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

Feat/craft settings program collection selector add program status select #487

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

LoisChen68
Copy link
Contributor

@LoisChen68 LoisChen68 commented May 10, 2024

WHY

It is necessary to be able to display private publishing or course blocks of a membership card's program plan in the page module settings.

What

  • ProgramCollectionSelector add program status select.
  • Adjust the membership card program plan of program because database add a new table of card_product.

Test Link:

First yarn add urfit-tech/lodestar-app-element#ee5fe08804c58b42786b3d3b853f39bc52c2bd80.

}
}
`)
const programs = data?.program.map(p => ({ id: p.id, title: p.title })) || []
Copy link
Contributor

Choose a reason for hiding this comment

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

programs could add type

type programs = {
  id: string;
  title: string;
};

@LoisChen68 LoisChen68 force-pushed the feat/craft-settings-ProgramCollectionSelector-add-program-status-select branch from fb6bad3 to 967fcaa Compare May 16, 2024 18:29
@LoisChen68 LoisChen68 force-pushed the feat/craft-settings-ProgramCollectionSelector-add-program-status-select branch from 967fcaa to bb9c258 Compare May 16, 2024 19:18
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