save url to local storage
This commit is contained in:
@@ -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);
|
||||
|
||||
2
vendor/assets/javascripts/transpiled.js
vendored
2
vendor/assets/javascripts/transpiled.js
vendored
@@ -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);
|
||||
|
||||
2
vendor/assets/javascripts/transpiled.js.map
vendored
2
vendor/assets/javascripts/transpiled.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user