Skip to content

Commit

Permalink
coommit
Browse files Browse the repository at this point in the history
  • Loading branch information
litvinets committed Dec 24, 2021
1 parent f707f7a commit 885118c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export class WorkshopPageComponent implements OnInit, OnDestroy {

getWorkshopImages(): void {
if (this.workshop.imageIds.length) {
this.workshop.imageIds.forEach((imgId) => this.images.push({ path: this.imgUrl + imgId }))
this.images = this.workshop.imageIds.map((imgId) => { return { path: this.imgUrl + imgId } })
} else {
this.images.push({ path: 'assets/images/groupimages/workshop-img.png' })
}
Expand Down
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2031,6 +2031,13 @@ angular-auth-oidc-client@^11.5.0:
jsrsasign-reduced "^8.0.15"
tslib "^2.0.0"

angular-responsive-carousel@^2.1.2:
version "2.1.2"
resolved "https://registry.yarnpkg.com/angular-responsive-carousel/-/angular-responsive-carousel-2.1.2.tgz#151adacb80835e374d6b9a3b99ff6d0cf4bd82ec"
integrity sha512-nOCEyL9R80kW876GY8KvXoPu9fHu3nEnA2RVoFZ3hnBLx/OIdebeKFTxfogWLgbI4S1xn+vOecY/a+GnAQNc8w==
dependencies:
tslib "^2.0.0"

ansi-colors@4.1.1:
version "4.1.1"
resolved "https://registry.yarnpkg.com/ansi-colors/-/ansi-colors-4.1.1.tgz#cbb9ae256bf750af1eab344f229aa27fe94ba348"
Expand Down

0 comments on commit 885118c

Please sign in to comment.