Skip to content

Commit ec55598

Browse files
committed
fix: live preview status banner shouldnt come for custom server previews
1 parent 12a1973 commit ec55598

File tree

1 file changed

+4
-0
lines changed
  • src/extensionsIntegrated/Phoenix-live-preview

1 file changed

+4
-0
lines changed

src/extensionsIntegrated/Phoenix-live-preview/main.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,10 @@ define(function (require, exports, module) {
199199
// remove any existing overlay & timer
200200
_hideOverlay();
201201

202+
if(LivePreviewSettings.isUsingCustomServer()){
203+
return;
204+
}
205+
202206
// to not show the overlays if user has already closed it before
203207
if(status === MultiBrowserLiveDev.STATUS_CONNECTING && !shouldShowConnectingOverlay) { return; }
204208
if(status === MultiBrowserLiveDev.STATUS_SYNC_ERROR && !shouldShowSyncErrorOverlay) { return; }

0 commit comments

Comments
 (0)