Skip to content

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

Open
LoisChen68 wants to merge 1 commit intodevelopfrom
feat/craft-settings-ProgramCollectionSelector-add-program-status-select
Open

Feat/craft settings program collection selector add program status select#487
LoisChen68 wants to merge 1 commit intodevelopfrom
feat/craft-settings-ProgramCollectionSelector-add-program-status-select

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.

@LoisChen68
Copy link
Contributor Author

}
}
`)
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

Comments