This repository has been archived by the owner on Nov 4, 2023. 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.
fix(DOOR_ENTRY): non-clickable items when opening popup programmatica…
…lly (#664) The item passed to $scope.openDoorEntry() needs to be merged with defaults so that the layout items get "action" assigned. This is done from the $scope.openPopup() a bit later but needs to be done before creating the popup layout. Merging defaults will be a no-op if defaults are already merged which will be the case when just clicking a DOOR_ENTRY tile defined in the config. Also done the same for other types of popups. That's not strictly necessary right now but could become necessary in the feature if the defaults are changed.
- Loading branch information