mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-11-09 21:58:28 +00:00
Refactor third-party handling for consistency and improved data flow.
- Renamed `categories` to `category` in `Thirdparty` and related types for clarity and type safety. - Updated `ThirdPartyRenderBox.vue` and `CreateModal.vue` to align with new type definitions. - Enhanced `AddPersons.vue` to handle `onThirdPartyCreated` event properly and extend functionality for third-party creation.
This commit is contained in:
@@ -24,8 +24,8 @@ const onPersonCreated = ({person}: {person: Person}): void => {
|
||||
emit("onPersonCreated", {person});
|
||||
};
|
||||
|
||||
const onThirdPartyCreated = ({tp}: {tp: Thirdparty}): void => {
|
||||
emit("onThirdPartyCreated", {thirdParty: tp});
|
||||
const onThirdPartyCreated = ({thirdParty}: {thirdParty: Thirdparty}): void => {
|
||||
emit("onThirdPartyCreated", {thirdParty: thirdParty});
|
||||
}
|
||||
|
||||
function save(): void {
|
||||
|
||||
Reference in New Issue
Block a user