mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 08:24:53 +01:00
use same deafult as backend has
This commit is contained in:
parent
7f8e62e8ef
commit
d8045df9a7
1 changed files with 2 additions and 2 deletions
|
|
@ -58,7 +58,7 @@ class ProductBaseTypeIconMapping:
|
||||||
if self._default_def is None:
|
if self._default_def is None:
|
||||||
self._default_def = {
|
self._default_def = {
|
||||||
"type": "material-symbols",
|
"type": "material-symbols",
|
||||||
"name": self._default.get("icon", "inventory_2"),
|
"name": self._default.get("icon", "deployed_code"),
|
||||||
"color": self._default.get("color", "#cccccc"),
|
"color": self._default.get("color", "#cccccc"),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -69,7 +69,7 @@ class ProductBaseTypeIconMapping:
|
||||||
self._definitions_by_name = {
|
self._definitions_by_name = {
|
||||||
product_base_type_def["name"]: {
|
product_base_type_def["name"]: {
|
||||||
"type": "material-symbols",
|
"type": "material-symbols",
|
||||||
"name": product_base_type_def.get("icon", "inventory_2"),
|
"name": product_base_type_def.get("icon", "deployed_code"),
|
||||||
"color": product_base_type_def.get("color", "#cccccc"),
|
"color": product_base_type_def.get("color", "#cccccc"),
|
||||||
}
|
}
|
||||||
for product_base_type_def in self._definitions
|
for product_base_type_def in self._definitions
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue