mirror of
https://github.com/discourse/discourse-solved.git
synced 2026-09-16 22:52:12 -04:00
DEV: Update has_accepted_answer property to track solution state
This commit is contained in:
@@ -47,6 +47,7 @@ function initializeWithApi(api) {
|
||||
});
|
||||
|
||||
this.accepted_answer = acceptedAnswer;
|
||||
this.has_accepted_answer = !!acceptedAnswer;
|
||||
}
|
||||
}
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user