mirror of
https://gitcode.com/gitea/gitea.git
synced 2025-06-14 00:34:12 +08:00
rename tributeValues to mentionValues (#25375)
Very simple change, just rename this variable so it does not feature the name of the module.
This commit is contained in:
@ -32,7 +32,7 @@ export function matchMention(queryText) {
|
||||
|
||||
// results is a map of weights, lower is better
|
||||
const results = new Map();
|
||||
for (const obj of window.config.tributeValues) {
|
||||
for (const obj of window.config.mentionValues) {
|
||||
const index = obj.key.toLowerCase().indexOf(query);
|
||||
if (index === -1) continue;
|
||||
const existing = results.get(obj);
|
||||
|
Reference in New Issue
Block a user