feat: 'AvailableRecruitCrewType' 제약 조건 이름 변경
This commit is contained in:
@@ -479,7 +479,7 @@ export class ActionDefinition<
|
|||||||
crewType ?? undefined
|
crewType ?? undefined
|
||||||
).rice;
|
).rice;
|
||||||
};
|
};
|
||||||
const checkCrewTypeAvailable = (): Constraint => ({
|
const availableRecruitCrewType = (): Constraint => ({
|
||||||
name: 'AvailableRecruitCrewType',
|
name: 'AvailableRecruitCrewType',
|
||||||
requires: () => requirements,
|
requires: () => requirements,
|
||||||
test: (context, view) => {
|
test: (context, view) => {
|
||||||
@@ -513,7 +513,7 @@ export class ActionDefinition<
|
|||||||
];
|
];
|
||||||
|
|
||||||
if (ctx.mode === 'full') {
|
if (ctx.mode === 'full') {
|
||||||
constraints.push(checkCrewTypeAvailable());
|
constraints.push(availableRecruitCrewType());
|
||||||
}
|
}
|
||||||
|
|
||||||
return constraints;
|
return constraints;
|
||||||
|
|||||||
Reference in New Issue
Block a user