mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-25 15:43:14 +01:00
More react
- consolidated lang items - proxy host paths work
This commit is contained in:
56 files changed
+946
-928
No files matched your search
@@ -24,4 +24,15 @@ const showError = (message: string) => {
|
||||
});
|
||||
};
|
||||
|
||||
export { showSuccess, showError };
|
||||
const showObjectSuccess = (obj: string, action: string) => {
|
||||
showSuccess(
|
||||
intl.formatMessage(
|
||||
{
|
||||
id: `notification.object-${action}`,
|
||||
},
|
||||
{ object: intl.formatMessage({ id: obj }) },
|
||||
),
|
||||
);
|
||||
};
|
||||
|
||||
export { showSuccess, showError, showObjectSuccess };
|
||||
Reference in new issue
Block a user