Extract icon imports to separate util
All checks were successful
CI / Lint (pull_request) Successful in 28s
CI / Test (pull_request) Successful in 43s

So icons can be used from anywhere, e.g. map component JS
This commit is contained in:
2026-03-14 12:28:17 +04:00
parent f1779131e8
commit ec0d5a30f9
6 changed files with 79 additions and 67 deletions

View File

@@ -9,15 +9,15 @@ module('Integration | Component | place-details', function (hooks) {
class StorageService extends Service {
lists = [
{ id: 'to-go', title: 'Want to go', color: '#ff00ff' },
{ id: 'to-do', title: 'To do', color: '#008000' },
{ id: 'to-go', title: 'Want to go', color: '#2e9e4f' },
{ id: 'to-do', title: 'To do', color: '#2a7fff' },
];
isPlaceSaved(id) {
isPlaceSaved() {
return false;
}
findPlaceById(id) {
findPlaceById() {
return null;
}