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

fixed #103 and bumped version

bumped version
fixed #103
This commit is contained in:
Harvey Kandola 2017-07-20 11:37:38 +01:00
parent 763bd1f0e2
commit bc49041359
8 changed files with 623 additions and 623 deletions

View file

@ -8,7 +8,7 @@ The mission is to bring software dev inspired features (refactoring, testing, li
## Latest version
v1.49.2
v1.50.0
## OS Support

View file

@ -205,6 +205,10 @@ func GetDocumentsByFolder(w http.ResponseWriter, r *http.Request) {
return
}
if len(documents) == 0 {
documents = []entity.Document{}
}
json, err := json.Marshal(documents)
if err != nil {

File diff suppressed because one or more lines are too long

View file

@ -52,6 +52,7 @@ export default Ember.Route.extend(AuthenticatedRouteMixin, {
actions: {
error(error /*, transition*/ ) {
console.log(error); // eslint-disable-line no-console
if (error) {
this.transitionTo('/not-found');
return false;

View file

@ -42,10 +42,6 @@ export default Ember.Service.extend({
content: Ember.A([])
});
if (isObject(response)) {
return documents;
}
documents = response.map((doc) => {
let data = this.get('store').normalize('document', doc);
return this.get('store').push(data);

View file

@ -61,7 +61,6 @@ export default BaseService.extend({
}
return this.reload();
},
// Updates an existing folder record.

View file

@ -1,6 +1,6 @@
{
"name": "documize",
"version": "1.49.2",
"version": "1.50.0",
"description": "The Document IDE",
"private": true,
"repository": "",