@@ -6315,29 +6315,29 @@ i.deprovision(e.serviceInstance);
6315
6315
};
6316
6316
var s = [], c = t("serviceInstanceDisplayName");
6317
6317
e.serviceInstancesVersion = a.getPreferredVersion("serviceinstances");
6318
- var l = function() {
6318
+ var l, u = function() {
6319
6319
e.breadcrumbs.push({
6320
6320
title: e.displayName
6321
6321
});
6322
- }, u = function() {
6323
- e.serviceClass || i.fetchServiceClassForInstance(e.serviceInstance).then(function(t) {
6324
- e.serviceClass = t, e.displayName = c(e.serviceInstance, t), l();
6325
- });
6326
6322
}, d = function() {
6323
+ e.serviceClass || l || (l = i.fetchServiceClassForInstance(e.serviceInstance).then(function(t) {
6324
+ e.serviceClass = t, e.displayName = c(e.serviceInstance, t), u(), l = null;
6325
+ }));
6326
+ }, m = function() {
6327
6327
i.isCurrentPlan(e.serviceInstance, e.plan) || i.fetchServicePlanForInstance(e.serviceInstance).then(function(t) {
6328
6328
e.plan = t;
6329
6329
});
6330
- }, m = function(t, n) {
6330
+ }, p = function(t, n) {
6331
6331
e.loaded = !0, e.serviceInstance = t, "DELETED" === n && (e.alerts.deleted = {
6332
6332
type: "warning",
6333
6333
message: "This provisioned service has been deleted."
6334
- }), u (), d ();
6334
+ }), d (), m ();
6335
6335
};
6336
6336
o.get(n.project).then(_.spread(function(a, o) {
6337
6337
e.project = a, e.projectContext = o, r.get(e.serviceInstancesVersion, n.instance, o, {
6338
6338
errorNotification: !1
6339
6339
}).then(function(t) {
6340
- m (t), s.push(r.watchObject(e.serviceInstancesVersion, n.instance, o, m ));
6340
+ p (t), s.push(r.watchObject(e.serviceInstancesVersion, n.instance, o, p ));
6341
6341
}, function(n) {
6342
6342
e.loaded = !0, e.alerts.load = {
6343
6343
type: "error",
0 commit comments