diff --git a/themes/schema.json b/themes/schema.json index c1e3a93f..d93f5c7c 100644 --- a/themes/schema.json +++ b/themes/schema.json @@ -1726,31 +1726,11 @@ "description": "The key under he registry path to get (case insensitive). If left blank, will get the value of the (Default) key in the registry_path", "default": "" }, - "query_fail_behaviour" : { + "fallback": { "type":"string", - "title": "Query failure behaviour", - "description": "What to do when the registry query fails", - "default":"hide_segment", - "enum": ["hide_segment", "display_fallback_string"] - }, - "query_fail_fallback_string": { - "type": "string", - "title": "Query Failure fallback string", - "description": "In the event of a failure to get the requested key, this string will be displayed in the segment if 'query_fail_behaviour' is set to 'display_fallback_string'", - "default": "" - }, - "query_fail_behaviour" : { - "type":"string", - "title": "Query failure behaviour", - "description": "What to do when the registry query fails", - "default":"hide_segment", - "enum": ["hide_segment", "display_fallback_string", "show_debug_info"] - }, - "query_fail_fallback_string": { - "type": "string", - "title": "Query Failure fallback string", - "description": "In the event of a failure to get the requested key, this string will be displayed in the segment if 'query_fail_behaviour' is set to 'display_fallback_string'", - "default": "" + "title":"Fallback value", + "description":"Value to display if registry value cannot be retrieved", + "default":"" } } }