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:
Barış Soner Uşaklı
2021-07-12 19:25:04 -04:00
committed by GitHub
parent 0d3f74b762
commit 4a56388ec3
14 changed files with 185 additions and 275 deletions

View File

@@ -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]]');