From 6c63cae4421349ff336a9c994ef8d08738a63b86 Mon Sep 17 00:00:00 2001
From: lowercasedonkey <lowercasedonkey@gmail.com>
Date: Mon, 19 Oct 2020 12:07:52 -0400
Subject: [PATCH] fix AS dump

---
 src/facilities/incubator/incubatorInteract.js            | 1 +
 src/facilities/incubator/incubatorRetrievalWorkaround.tw | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/facilities/incubator/incubatorInteract.js b/src/facilities/incubator/incubatorInteract.js
index 4f60c3d0207..7fbe00ea317 100644
--- a/src/facilities/incubator/incubatorInteract.js
+++ b/src/facilities/incubator/incubatorInteract.js
@@ -1698,6 +1698,7 @@ App.UI.incubator = function() {
 			}
 			return App.UI.DOM.passageLink(`Release ready tanks`, "Incubator Retrieval Workaround");
 		}
+		return new DocumentFragment();
 	}
 
 	/**
diff --git a/src/facilities/incubator/incubatorRetrievalWorkaround.tw b/src/facilities/incubator/incubatorRetrievalWorkaround.tw
index 22cbde23a38..97babc585d3 100644
--- a/src/facilities/incubator/incubatorRetrievalWorkaround.tw
+++ b/src/facilities/incubator/incubatorRetrievalWorkaround.tw
@@ -1,8 +1,10 @@
 :: Incubator Retrieval Workaround [nobr]
 
-<<set $nextLink = "AS Dump", $returnTo = "Main">>
+<<set $returnTo = "Main">>
 
 <<if $readySlave != 0>>
+	<<set $nextLink = "AS Dump">>
+	<<run App.Utils.updateUserButton()>>
 	<<setLocalPronouns $readySlave>>
 	$readySlave.slaveName has been discharged from $incubatorName and is ready for $his first ever inspection.
 
-- 
GitLab