mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-18 03:31:03 +01:00
feat: store topic tags in topic hash (#9656)
* feat: store topic tags in topic hash breaking: remove color info from tags (use css) * fix: remove unused tag modal * fix: tag search
This commit is contained in:
committed by
GitHub
parent
0d3f74b762
commit
4a56388ec3
@@ -12,14 +12,6 @@ Tags.create = async function (socket, data) {
|
||||
await topics.createEmptyTag(data.tag);
|
||||
};
|
||||
|
||||
Tags.update = async function (socket, data) {
|
||||
if (!Array.isArray(data)) {
|
||||
throw new Error('[[error:invalid-data]]');
|
||||
}
|
||||
|
||||
await topics.updateTags(data);
|
||||
};
|
||||
|
||||
Tags.rename = async function (socket, data) {
|
||||
if (!Array.isArray(data)) {
|
||||
throw new Error('[[error:invalid-data]]');
|
||||
|
||||
Reference in New Issue
Block a user