Josh Hamet 4 yıl önce
ebeveyn
işleme
84c92c1594
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      packages/apputils/src/dialog.tsx

+ 1 - 1
packages/apputils/src/dialog.tsx

@@ -155,7 +155,7 @@ export class Dialog<T> extends Widget {
     return promises.then(() => {
       // Do not show Dialog if it was disposed of before it was at the front of the launch queue
       if (!this._promise) {
-        return Promise.resolve({button: Dialog.cancelButton(), value: null});
+        return Promise.resolve({ button: Dialog.cancelButton(), value: null });
       }
       Widget.attach(this, this._host);
       return promise.promise;