()
| 43 | } |
| 44 | |
| 45 | getPathNames(){ |
| 46 | const names = []; |
| 47 | const serializedData = localStorage.getItem( Store.namespace ); |
| 48 | if (serializedData==null) return ['Path1']; |
| 49 | const data = JSON.parse(serializedData); |
| 50 | for (const [key, value] of Object.entries(data)) { |
| 51 | if (key != 'activePath' && key != 'tips') names.push( key ); |
| 52 | } |
| 53 | return names; |
| 54 | } |
| 55 | |
| 56 | copy(){ |
| 57 | let name = this.read( 'activePath' ); |
no outgoing calls
no test coverage detected