mirror of
https://github.com/citizenfx/cfx-server-data.git
synced 2025-12-12 06:14:09 +01:00
Betterchat v2
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
window.SUGGESTIONS = {
|
||||
Vue.component('suggestions', {
|
||||
template: '#suggestions_template',
|
||||
props: ['message', 'suggestions'],
|
||||
data() {
|
||||
@@ -21,11 +21,9 @@ window.SUGGESTIONS = {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
return true;
|
||||
}).slice(0, 5);
|
||||
}).slice(0, CONFIG.suggestionLimit);
|
||||
|
||||
currentSuggestions.forEach((s) => {
|
||||
// eslint-disable-next-line no-param-reassign
|
||||
@@ -43,4 +41,4 @@ window.SUGGESTIONS = {
|
||||
},
|
||||
},
|
||||
methods: {},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user