PluginProbe
Extendify / trunk
Extendify vtrunk
3.2.1 3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 All 127 releases
← All changes | src/Agent/components/messages/StatusIndicator.jsx +5 -1 3.1.4 → trunk View file →
@@ -36,11 +36,15 @@
36 36 return isList ? lines[index] : lines;
37 37 };
38 38
39 39 export const StatusIndicator = () => {
40 + const leavingPage = useStatusStore((s) => s.leavingPage);
40 41 const { type, label } = useStatusStore((s) => s.statuses.at(-1)) ?? {};
41 42 const lines = useMemo(() => linesFor(label)[type], [label, type]);
42 - const text = useCurrentLine(lines);
43 + const currentLine = useCurrentLine(lines);
44 + const text = leavingPage
45 + ? __('Refreshing the page to show your changes…', 'extendify-local')
46 + : currentLine;
43 47
44 48 if (!text) return null;
45 49
46 50 return (