fix(aihr): align supervisor scenario options
This commit is contained in:
@@ -319,6 +319,8 @@ const loadScenarioOptions = async () => {
|
||||
.map((item) => ({ id: item.id, name: item.name }));
|
||||
if (nextOptions.length) {
|
||||
scenarioOptions.value = nextOptions;
|
||||
} else {
|
||||
scenarioOptions.value = [];
|
||||
}
|
||||
} catch {
|
||||
scenarioOptions.value = [...supervisorScenarioOptions];
|
||||
|
||||
Reference in New Issue
Block a user