mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 15:43:48 +00:00
[Status] Revise API
Change method names, add a getter to status capability; per code review feedback, nasa/openmctweb#319.
This commit is contained in:
@ -51,7 +51,7 @@ define(
|
||||
* @returns {string[]} an array containing all status flags currently
|
||||
* applicable to the object with this identifier
|
||||
*/
|
||||
StatusService.prototype.getStatus = function (id) {
|
||||
StatusService.prototype.listStatuses = function (id) {
|
||||
return this.statusTable[id] || [];
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user