@@ -8618,29 +8618,29 @@ i.deprovision(e.serviceInstance);
8618
8618
};
8619
8619
var s = [], c = t("serviceInstanceDisplayName");
8620
8620
e.serviceInstancesVersion = a.getPreferredVersion("serviceinstances");
8621
- var l = function() {
8621
+ var l, u = function() {
8622
8622
e.breadcrumbs.push({
8623
8623
title: e.displayName
8624
8624
});
8625
- }, u = function() {
8626
- e.serviceClass || i.fetchServiceClassForInstance(e.serviceInstance).then(function(t) {
8627
- e.serviceClass = t, e.displayName = c(e.serviceInstance, t), l();
8628
- });
8629
8625
}, d = function() {
8626
+ e.serviceClass || l || (l = i.fetchServiceClassForInstance(e.serviceInstance).then(function(t) {
8627
+ e.serviceClass = t, e.displayName = c(e.serviceInstance, t), u(), l = null;
8628
+ }));
8629
+ }, m = function() {
8630
8630
i.isCurrentPlan(e.serviceInstance, e.plan) || i.fetchServicePlanForInstance(e.serviceInstance).then(function(t) {
8631
8631
e.plan = t;
8632
8632
});
8633
- }, m = function(t, n) {
8633
+ }, p = function(t, n) {
8634
8634
e.loaded = !0, e.serviceInstance = t, "DELETED" === n && (e.alerts.deleted = {
8635
8635
type: "warning",
8636
8636
message: "This provisioned service has been deleted."
8637
- }), u (), d ();
8637
+ }), d (), m ();
8638
8638
};
8639
8639
o.get(n.project).then(_.spread(function(a, o) {
8640
8640
e.project = a, e.projectContext = o, r.get(e.serviceInstancesVersion, n.instance, o, {
8641
8641
errorNotification: !1
8642
8642
}).then(function(t) {
8643
- m (t), s.push(r.watchObject(e.serviceInstancesVersion, n.instance, o, m ));
8643
+ p (t), s.push(r.watchObject(e.serviceInstancesVersion, n.instance, o, p ));
8644
8644
}, function(n) {
8645
8645
e.loaded = !0, e.alerts.load = {
8646
8646
type: "error",
0 commit comments