mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-11-20 11:36:24 +01:00
Pass a copy of the options to the tiles
This commit is contained in:
parent
23b621492f
commit
139a87de99
@ -35,7 +35,7 @@ export class TilesCollection extends BaseObservableList {
|
||||
_createTile(entry) {
|
||||
const Tile = this._tileOptions.tileClassForEntry(entry);
|
||||
if (Tile) {
|
||||
return new Tile(entry, this._tileOptions);
|
||||
return new Tile(entry, { ...this._tileOptions });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user