mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-20 21:41:32 +01:00
#2529 Prioritize disabled for UI entry state
This commit is contained in:
parent
52497ea96d
commit
3c059d19ef
@ -2875,12 +2875,12 @@ function getWorldEntry(name, data, entry) {
|
||||
});
|
||||
|
||||
const entryState = function () {
|
||||
if (entry.constant === true) {
|
||||
if (entry.disable === true) {
|
||||
return 'disabled';
|
||||
} else if (entry.constant === true) {
|
||||
return 'constant';
|
||||
} else if (entry.vectorized === true) {
|
||||
return 'vectorized';
|
||||
} else if (entry.disable === true) {
|
||||
return 'disabled';
|
||||
} else {
|
||||
return 'normal';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user