forked from MapComplete/MapComplete
Fix image carousel bug
This commit is contained in:
parent
c226e15d99
commit
a19f3e61f9
7 changed files with 43 additions and 58 deletions
|
@ -8,7 +8,7 @@ import DeleteImage from "./DeleteImage";
|
|||
|
||||
export class ImageCarousel extends UIElement{
|
||||
|
||||
public readonly slideshow: SlideShow;
|
||||
public readonly slideshow: UIElement;
|
||||
|
||||
constructor(tags: UIEventSource<any>, imagePrefix: string = "image", loadSpecial: boolean =true) {
|
||||
super(tags);
|
||||
|
@ -29,7 +29,7 @@ export class ImageCarousel extends UIElement{
|
|||
});
|
||||
|
||||
this.slideshow = new SlideShow(uiElements).HideOnEmpty(true);
|
||||
|
||||
|
||||
}
|
||||
|
||||
InnerRender(): string {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue