mirror of
https://github.com/nasa/openmct.git
synced 2025-06-19 15:43:48 +00:00
[API] composition providers receive new-style objects
Ensure that composition providers get new-style objects (with id included) so that they can properly check for applicability.
This commit is contained in:
@ -50,7 +50,7 @@ define(
|
||||
this.capabilityService = capabilityService;
|
||||
}
|
||||
|
||||
QueuingPersistenceCapabilityDecorator.prototype.getCapabilities = function (model) {
|
||||
QueuingPersistenceCapabilityDecorator.prototype.getCapabilities = function (model, id) {
|
||||
var capabilityService = this.capabilityService,
|
||||
persistenceQueue = this.persistenceQueue;
|
||||
|
||||
@ -76,7 +76,7 @@ define(
|
||||
}
|
||||
|
||||
return decoratePersistence(
|
||||
capabilityService.getCapabilities(model)
|
||||
capabilityService.getCapabilities(model, id)
|
||||
);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user