fix?
This commit is contained in:
		
							parent
							
								
									54bf280874
								
							
						
					
					
						commit
						6836c8e98e
					
				
					 1 changed files with 14 additions and 14 deletions
				
			
		| 
						 | 
					@ -70,7 +70,6 @@ export class Storage<T extends StateDef> {
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
					localStorage.setItem(this.keyForLocalStorage + '::cache::' + $i.id, JSON.stringify(cache));
 | 
										localStorage.setItem(this.keyForLocalStorage + '::cache::' + $i.id, JSON.stringify(cache));
 | 
				
			||||||
				});
 | 
									});
 | 
				
			||||||
			}, 1);
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
				// streamingのuser storage updateイベントを監視して更新
 | 
									// streamingのuser storage updateイベントを監視して更新
 | 
				
			||||||
				this.connection.on('registryUpdated', ({ scope, key, value }: { scope: string[], key: keyof T, value: T[typeof key]['default'] }) => {
 | 
									this.connection.on('registryUpdated', ({ scope, key, value }: { scope: string[], key: keyof T, value: T[typeof key]['default'] }) => {
 | 
				
			||||||
| 
						 | 
					@ -85,6 +84,7 @@ export class Storage<T extends StateDef> {
 | 
				
			||||||
						localStorage.setItem(this.keyForLocalStorage + '::cache::' + $i.id, JSON.stringify(cache));
 | 
											localStorage.setItem(this.keyForLocalStorage + '::cache::' + $i.id, JSON.stringify(cache));
 | 
				
			||||||
					}
 | 
										}
 | 
				
			||||||
				});
 | 
									});
 | 
				
			||||||
 | 
								}, 1);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue