diff --git a/tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html b/tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html index 0b821fe9ee9..452fd3abde7 100644 --- a/tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html +++ b/tensorboard/plugins/profile/tf_profile_dashboard/tf-profile-dashboard.html @@ -425,17 +425,13 @@

No profile data was found.

'Processing datasets', 70, () => { return new Promise(function(resolve, reject) { parent._processRunToTool(runToTool); - return Promise.resolve(null); + resolve(null); }); }, tracker); }) .then(() => { return tf.profile.util.runTask( - 'Done', 10, () => { - return new Promise(function(resolve, reject) { - return Promise.resolve(null); - }); - }, tracker); + 'Done', 10, () => null, tracker); }); }, _processRunToTool: function(runToTool) {