mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 16:58:47 +01:00
Fix wrong logic for highlighting Languages select
This commit is contained in:
parent
0a4aae51b7
commit
b6a64b66c7
1 changed files with 1 additions and 1 deletions
|
@ -1364,7 +1364,7 @@ function Compose({
|
|||
class={`toolbar-button ${
|
||||
language !== prevLanguage.current ||
|
||||
(autoDetectedLanguages?.length &&
|
||||
autoDetectedLanguages.includes(language))
|
||||
!autoDetectedLanguages.includes(language))
|
||||
? 'highlight'
|
||||
: ''
|
||||
}`}
|
||||
|
|
Loading…
Reference in a new issue