diff --git a/kibot/resources/kiri/kiri.js b/kibot/resources/kiri/kiri.js
index 3ae9bd45..00b6448c 100644
--- a/kibot/resources/kiri/kiri.js
+++ b/kibot/resources/kiri/kiri.js
@@ -744,16 +744,14 @@ function update_sheets_list(commit1, commit2) {
for (const d of data1)
{
- sheet = d.split("|")[0];
- sheets.push(sheet);
+ sheets.push(d);
}
for (const d of data2)
{
- sheet = d.split("|")[0];
- if (! sheets.includes(sheet))
+ if (! sheets.includes(d))
{
- sheets.push(sheet);
+ sheets.push(d);
}
}
@@ -765,13 +763,16 @@ function update_sheets_list(commit1, commit2) {
var new_sheets_list = [];
var form_inputs_html;
- for (const sheet of sheets)
+ for (const d of sheets)
{
+ var splitted = d.split("|");
+ var visible_sheet = splitted[3];
+ var sheet = splitted[4];
var input_html = `
`;