Kanban migration to new format

This commit is contained in:
yflory
2020-03-05 14:06:34 +01:00
parent e139d46b26
commit 7d19b9a205
2 changed files with 16 additions and 3 deletions

View File

@@ -59,6 +59,7 @@ define([
Messages.kanban_submit = "Submit"; // XXX
Messages.kanban_delete = "Delete"; // XXX
Messages.kanban_tags = "Filter tags"; // XXX
Messages.kanban_noTags = "No tags"; // XXX
// XXX
// Conflicts
@@ -758,6 +759,10 @@ define([
var redrawList = function (allTags) {
if (!Array.isArray(allTags)) { return; }
$list.empty();
if (!allTags.length) {
$list.append(h('em', Messages.kanban_noTags));
return;
}
allTags.forEach(function (t) {
var tag;
$list.append(tag = h('span', {