This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed bug where a blank card is displayed
on-tap is attached to both the chip-container and the card. To know which card gets displayed, the transition function called by on-tap assigns the selectedAlbum variable the value of the target's templateInstance.model.item, which is null if the user clicks on any area which is inside chip-container but outside a chip. This results to a blank card being displayed. The simplest fix for this is to check if selectedAlbum is null before setting the page flag to 1.
- Loading branch information