noBackend / noBackend-app-invoice

example app to showcase implementations using different noBackend solutions
http://invoice.nobackend.org/
87 stars 21 forks source link

[remoteStorage+Sockethub] load existing invoice (if exists) on load #5

Closed silverbucket closed 11 years ago

silverbucket commented 11 years ago

There was one more thing I wanted to add to the example. If there already are some invoices, it would be good to automatically load the last one rather than a new blank one.

How should I do that? render seems to load a new blank one, is there a way to indicate an object to use instead?

gr2m commented 11 years ago

I think it's actually a bug in app.js. I can't look into it at the moment, but I think it's adding a new blank invoice if you call render() and there is none yet. I've the same problem in the hoodie implementation

gr2m commented 11 years ago

that's fixed now, right?