aboutsummaryrefslogtreecommitdiffstats
path: root/src/web
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2025-12-07 16:18:43 -0600
committerGitHub <noreply@github.com>2025-12-07 16:18:43 -0600
commit49bf81959177a2c3139d83fe3498c574bf325acd (patch)
tree76e4d1e91f8b1de41729c475f8a1f47231a4a183 /src/web
parent3d8847a1a3eabc755695581cb5e628af96581102 (diff)
parent869c5535218a8fc7bff2c10ae73d59847b19b55f (diff)
downloadslskd-49bf81959177a2c3139d83fe3498c574bf325acd.tar.gz
Merge branch 'master' into statistics
Diffstat (limited to 'src/web')
-rw-r--r--src/web/src/components/Browse/Browse.jsx2
-rw-r--r--src/web/src/components/Rooms/RoomJoinModal.jsx4
-rw-r--r--src/web/src/components/Search/Response.jsx4
3 files changed, 6 insertions, 4 deletions
diff --git a/src/web/src/components/Browse/Browse.jsx b/src/web/src/components/Browse/Browse.jsx
index d5e16cb3..4f36dfe7 100644
--- a/src/web/src/components/Browse/Browse.jsx
+++ b/src/web/src/components/Browse/Browse.jsx
@@ -306,7 +306,7 @@ class Browse extends Component {
<div className="browse-container">
{emptyTree ? (
<PlaceholderSegment
- caption="No user share to display"
+ caption="User is not sharing any files"
icon="folder open"
/>
) : (
diff --git a/src/web/src/components/Rooms/RoomJoinModal.jsx b/src/web/src/components/Rooms/RoomJoinModal.jsx
index 39c46248..5a6cf0c2 100644
--- a/src/web/src/components/Rooms/RoomJoinModal.jsx
+++ b/src/web/src/components/Rooms/RoomJoinModal.jsx
@@ -33,7 +33,9 @@ const RoomJoinModal = ({ joinRoom: parentJoinRoom, ...modalOptions }) => {
}, [open]);
const sortedAvailable = useMemo(() => {
- const sorted = [...available].filter((room) => room.name.includes(filter));
+ const sorted = [...available].filter((room) =>
+ room.name.toLowerCase().includes(filter.toLowerCase()),
+ );
sorted.sort((a, b) => {
if (sortOrder === 'asc') {
diff --git a/src/web/src/components/Search/Response.jsx b/src/web/src/components/Search/Response.jsx
index 0d94ee8c..567b80a3 100644
--- a/src/web/src/components/Search/Response.jsx
+++ b/src/web/src/components/Search/Response.jsx
@@ -203,9 +203,9 @@ class Response extends Component {
>
<Icon
loading={fetchingDirectoryContents}
- name={fetchingDirectoryContents ? 'circle notch' : 'folder'}
+ name={fetchingDirectoryContents ? 'circle notch' : 'search'}
/>
- Get Full Directory Contents
+ Search for Additional Files in This Directory
</button>
}
key={directory}