From 77ecbd58b247ed492c4b28d3a383c7eea7730dd4 Mon Sep 17 00:00:00 2001
From: ysolodka <164353368+ysolodka@users.noreply.github.com>
Date: Fri, 13 Dec 2024 20:06:32 +0400
Subject: [PATCH] Revert "PS-422/[FIX]: Ensures user isn't seeing Fliplet Admin
settings"
---
interface.html | 7 ++-----
js/interface.js | 9 ++-------
2 files changed, 4 insertions(+), 12 deletions(-)
diff --git a/interface.html b/interface.html
index 0a95e40..81647a2 100644
--- a/interface.html
+++ b/interface.html
@@ -1887,13 +1887,10 @@
App submission status
\{{testingStatus}}
\{{#if fileUrl}}
\{{/if}}
- \{{#if isAdmin}}
\{{#if debugFileUrl}}
\{{else}}
- Admin Debug app not available
- \{{/if}}
- \{{/if}}
+ Admin Debug app not available
\{{/if}}
\{{#if updatedAt}} Ready on: \{{updatedAt}}\{{/if}}
@@ -1930,7 +1927,7 @@ App submission status
\{{#if updatedAt}} Finished on: \{{updatedAt}}\{{/if}}
\{{{message}}}
|
- \{{/if}}
+ \{{/if}}
\{{#if cancelled}}
Canceled
diff --git a/js/interface.js b/js/interface.js
index 1139ad2..bc3a8fe 100644
--- a/js/interface.js
+++ b/js/interface.js
@@ -2155,9 +2155,8 @@ function checkSubmissionStatus(origin, iosSubmissions) {
if (submission.result.message) {
build.message = submission.result.message;
-
- const gracefullyFailedMessage = 'The app has been uploaded to the App Store Connect but could not be submitted for review. Please log in on https://appstoreconnect.apple.com/ to finish up the process and submit the app for review.';
-
+
+ const gracefullyFailedMessage = "The app has been uploaded to the App Store Connect but could not be submitted for review. Please log in on https://appstoreconnect.apple.com/ to finish up the process and submit the app for review.";
if (submission.result.message === gracefullyFailedMessage) {
submission.status = 'gracefullyFailed';
}
@@ -2173,10 +2172,6 @@ function checkSubmissionStatus(origin, iosSubmissions) {
build.debugFileUrl = debugHtmlPage ? removeAuthTokenFromFileUrl(debugHtmlPage.url) : '';
}
- if (userInfo && userInfo.user && (userInfo.user.isAdmin || userInfo.user.isImpersonating)) {
- build.isAdmin = userInfo.user.isAdmin || userInfo.user.isImpersonating;
- }
-
buildsData.push(build);
});
|