Skip to content

Commit f2149cb

Browse files
committed
web: Foox bookcase order
1 parent 682c234 commit f2149cb

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

apps/web/src/components/ViewBookcase.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,15 +244,15 @@ const sortedBookcase = $computed(
244244
);
245245
return (
246246
publicationOrderSign ||
247-
Math.sign(
247+
(Math.sign(
248248
issuecodesByPublicationcode.value[publicationcode1]?.indexOf(
249249
issuecode1,
250250
) ||
251-
0 -
252-
issuecodesByPublicationcode.value[publicationcode2]?.indexOf(
251+
0) -
252+
(issuecodesByPublicationcode.value[publicationcode2]?.indexOf(
253253
issuecode2,
254-
) ||
255-
0,
254+
) || 0
255+
)
256256
)
257257
);
258258
},

0 commit comments

Comments
 (0)