mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-07-24 09:36:31 +00:00
Fix support for multiple suggestions
Make sure suggestions get appended to the suggestion list. This allows multiple suggestions for a single issue.
This commit is contained in:
parent
a0735f3585
commit
59230196de
@ -186,8 +186,8 @@ class ResolutionManager(FileConfiguration, CoreSysAttributes):
|
||||
"""Add an issue and suggestions."""
|
||||
if suggestions:
|
||||
for suggestion in suggestions:
|
||||
self.suggestions = Suggestion(
|
||||
suggestion, issue.context, issue.reference
|
||||
self.suggestions.append(
|
||||
Suggestion(suggestion, issue.context, issue.reference)
|
||||
)
|
||||
|
||||
self.issues = issue
|
||||
|
Loading…
x
Reference in New Issue
Block a user