Display the channel ID of a shared folder to be able to restore it

This commit is contained in:
yflory
2019-06-14 14:12:43 +02:00
parent 3e4ee75137
commit ba877ba459
2 changed files with 10 additions and 0 deletions

View File

@@ -288,6 +288,15 @@ define([
$d.append(UI.dialog.selectable(formatted, {
id: 'cp-app-prop-size',
}));
if (data.sharedFolder) { // XXX debug
$('<label>', {'for': 'cp-app-prop-channel'}).text('Channel ID').appendTo($d);
if (AppConfig.pinBugRecovery) { $d.append(h('p', AppConfig.pinBugRecovery)); }
$d.append(UI.dialog.selectable(data.channel, {
id: 'cp-app-prop-link',
}));
}
cb(void 0, $d);
});
} else {