1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-18 20:59:43 +02:00

copy tweaks

This commit is contained in:
Harvey Kandola 2016-10-07 16:41:09 -07:00
parent d7e74f07f0
commit 009d3dde3d
2 changed files with 2 additions and 21 deletions

View file

@ -36,8 +36,8 @@ export default Ember.Component.extend(TooltipMixin, NotifierMixin, {
this.get('templateService').getSavedTemplates().then(function(saved) {
let emptyTemplate = {
id: "0",
title: "Empty document",
description: "An empty canvas for your masterpiece",
title: "Empty",
description: "An empty canvas for your words",
img: "template-blank",
};

View file

@ -32,22 +32,3 @@ export default Ember.Component.extend(NotifierMixin, {
}
}
});
/*
setTemplate(chosen) {
if (is.undefined(chosen)) {
return;
}
this.set('selectedTemplate', chosen);
this.set('canEditTemplate', chosen.id !== "0" ? "Edit" : "");
let templates = this.get('savedTemplates');
templates.forEach(template => {
Ember.set(template, 'selected', template.id === chosen.id);
});
},
*/