user(); assert($user !== null); // Read before dismissing: everything below describes the update // that the next line forgets. $props = [ 'version' => $this->welcome->version(), 'previousVersion' => $this->welcome->previousVersion(), 'justUpdated' => $this->welcome->isFresh(), 'releases' => $this->welcome->releases(), ]; // Only for the person it was addressed to. Another administrator // opening the page from a link is reading, not receiving, and must // not consume a greeting meant for somebody else. if ($this->welcome->isWaitingFor($user)) { $this->welcome->dismiss(); } return Inertia::render('system/whats-new', $props); } }