(bins)
| 46 | } |
| 47 | |
| 48 | updateProgress(bins) { |
| 49 | const updatedFile = { |
| 50 | fileName: this.fileName, |
| 51 | storedBins: bins, |
| 52 | coordinates: this.coordinates |
| 53 | } |
| 54 | localStorage.setItem(this.localStorageKey, JSON.stringify(updatedFile)); |
| 55 | } |
| 56 | |
| 57 | resetFile() { |
| 58 | localStorage.removeItem(this.localStorageKey); |