diff --git a/tgui/packages/tgui/interfaces/RequestManager.js b/tgui/packages/tgui/interfaces/RequestManager.js
index a55be0e28de0..5d8d2c468a53 100644
--- a/tgui/packages/tgui/interfaces/RequestManager.js
+++ b/tgui/packages/tgui/interfaces/RequestManager.js
@@ -16,19 +16,24 @@ export const RequestManager = (props, context) => {
const [filteredTypes, _] = useLocalState(
context,
'filteredTypes',
- Object.fromEntries(Object.entries(displayTypeMap).map(([type, _]) => [type, true]))
+ Object.fromEntries(
+ Object.entries(displayTypeMap).map(([type, _]) => [type, true])
+ )
);
const [searchText, setSearchText] = useLocalState(context, 'searchText');
// Handle filtering
- let displayedRequests = requests.filter((request) => filteredTypes[request.req_type]);
+ let displayedRequests = requests.filter(
+ (request) => filteredTypes[request.req_type]
+ );
if (searchText) {
const filterText = searchText.toLowerCase();
displayedRequests = displayedRequests.filter(
(request) =>
decodeHtmlEntities(request.message)
.toLowerCase()
- .includes(filterText) || request.owner_name.toLowerCase().includes(filterText)
+ .includes(filterText) ||
+ request.owner_name.toLowerCase().includes(filterText)
);
}
@@ -39,10 +44,16 @@ export const RequestManager = (props, context) => {
title="Requests"
buttons={
<>
- setSearchText(value)} placeholder={'Search...'} mr={1} />
+ setSearchText(value)}
+ placeholder={'Search...'}
+ mr={1}
+ />