+ address list for recipient

+ filter table helper
* copy address simply by clicking on it
This commit is contained in:
Taegus
2018-12-17 17:42:19 +01:00
parent 6013c6f2d7
commit 1468eba97c
11 changed files with 153 additions and 65 deletions

View File

@@ -43,11 +43,15 @@ class MainGUI {
});
}
renderTemplate(template, data) {
renderTemplate(template, data, container) {
var template = Handlebars.compile(ipcRenderer.sendSync('getTemplateContent', template));
$("#mainContent").empty();
$("#mainContent").html(template(data));
if (!container) {
container = $("#mainContent")
}
container.empty();
container.html(template(data));
}
copyToClipboard(text) {