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

pull/1/head
yflory 6 years ago
parent 3e4ee75137
commit ba877ba459

@ -288,6 +288,15 @@ define([
$d.append(UI.dialog.selectable(formatted, { $d.append(UI.dialog.selectable(formatted, {
id: 'cp-app-prop-size', 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); cb(void 0, $d);
}); });
} else { } else {

@ -3149,6 +3149,7 @@ define([
//data.noPassword = true; //data.noPassword = true;
data.noEditPassword = true; data.noEditPassword = true;
data.noExpiration = true; data.noExpiration = true;
data.sharedFolder = true; // XXX debug
} }
UIElements.getProperties(common, data, cb); UIElements.getProperties(common, data, cb);

Loading…
Cancel
Save