|
@@ -525,7 +525,7 @@ export const subjectFingering = (subjectId: number | string): IFingering => {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
-export const getFingeringConfig = async (type: IVocals | undefined): Promise<ITypeFingering> => {
|
|
|
+export const getFingeringConfig = async (type: IVocals | undefined, source?: string): Promise<ITypeFingering> => {
|
|
|
switch (type) {
|
|
|
case "flute":
|
|
|
const flute = await import(`./fingering-img/flute/index.json`);
|
|
@@ -614,7 +614,7 @@ export const getFingeringConfig = async (type: IVocals | undefined): Promise<ITy
|
|
|
width: "180px",
|
|
|
};
|
|
|
case "hulusi-flute":
|
|
|
- const hulusi = await import(`./fingering-img/hulusi-flute/index.json`);
|
|
|
+ const hulusi = source === 'musicDetail' ? await import(`./fingering-img/hulusi-flute0/index.json`) : await import(`./fingering-img/hulusi-flute/index.json`);
|
|
|
return {
|
|
|
json: hulusi.default,
|
|
|
relationship: relationships.hulusi,
|