save url to local storage

This commit is contained in:
Mo Bitar
2017-01-08 22:19:49 -06:00
parent 1bc2486f0e
commit 12a6152fa1
3 changed files with 3 additions and 3 deletions

View File

@@ -499,7 +499,7 @@ angular.module('app.frontend')
this.writeAllItemsToLocalStorage = function(callback) {
var items = _.map(modelManager.allItems, function(item){
return this.paramsForItem(item, this.isUserSignedIn(), ["created_at", "updated_at"], false)
return this.paramsForItem(item, this.isUserSignedIn(), ["created_at", "updated_at", "presentation_url"], false)
}.bind(this));
// console.log("Writing items to local", items);
this.writeToLocalStorage('items', items);

View File

@@ -2420,7 +2420,7 @@ var Tag = function (_Item3) {
this.writeAllItemsToLocalStorage = function (callback) {
var items = _.map(modelManager.allItems, function (item) {
return this.paramsForItem(item, this.isUserSignedIn(), ["created_at", "updated_at"], false);
return this.paramsForItem(item, this.isUserSignedIn(), ["created_at", "updated_at", "presentation_url"], false);
}.bind(this));
// console.log("Writing items to local", items);
this.writeToLocalStorage('items', items);

File diff suppressed because one or more lines are too long