added a notification if user has no tags

closes #3363
This commit is contained in:
Miodec 2022-08-08 16:47:04 +02:00
parent 7b8676bd5a
commit 87e079ed53

View file

@ -59,6 +59,12 @@ $(document).on("click", ".pageAccount .group.history #resultEditTags", (f) => {
$("#resultEditTagsPanel").attr("tags", tags);
updateActiveButtons(JSON.parse(tags));
show();
} else {
Notifications.add(
"You haven't created any tags. You can do it in the settings page",
0,
4
);
}
});