Skip to content

Commit

Permalink
Add custom message
Browse files Browse the repository at this point in the history
  • Loading branch information
SchrodingersGat committed Nov 12, 2024
1 parent 4017abe commit b14c061
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/frontend/src/components/plugins/LocateItemButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ export default function LocateItemButton({
url: apiUrl(ApiEndpoints.plugin_locate_item),
method: 'POST',
title: t`Locate Item`,
fields: locateFields
fields: locateFields,
successMessage: t`Item location requested`
});

if (!locatePlugins || locatePlugins.length === 0) {
Expand Down

0 comments on commit b14c061

Please sign in to comment.