From 8526f4e94140132c8abe880b93cbc45780f9686b Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 10 Apr 2024 14:08:26 +0200 Subject: [PATCH] Themes: also show 'operator:website' and 'contact:website' as title icon if they are available --- assets/layers/icons/icons.json | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/assets/layers/icons/icons.json b/assets/layers/icons/icons.json index fb302d55c7..70b9666ae6 100644 --- a/assets/layers/icons/icons.json +++ b/assets/layers/icons/icons.json @@ -182,8 +182,23 @@ "defaults", "in_favourite" ], - "render": "website", - "condition": "website~*" + "mappings": [ + { + "#": "ignore-image-in-then", + "if": "website~*", + "then": "website" + }, + { + "#": "ignore-image-in-then", + "if": "operator:website~*", + "then": "website" + }, + { + "#": "ignore-image-in-then", + "if": "context:website~*", + "then": "website" + } + ] }, { "id": "smokingicon",