mirror of
https://github.com/duckietm/Nitro-V3.git
synced 2026-06-19 23:16:21 +00:00
feat(wired-ui): expand advanced wired editors
This commit is contained in:
@@ -87,7 +87,13 @@ const useWiredState = () =>
|
||||
|
||||
const handleDisallowedInteraction = () =>
|
||||
{
|
||||
if(allowedInteractionErrorKey) simpleAlert(LocalizeText(allowedInteractionErrorKey), null, null, null, LocalizeText('wiredfurni.title'));
|
||||
if(!allowedInteractionErrorKey) return;
|
||||
|
||||
const message = (/^[a-z0-9_.]+$/i.test(allowedInteractionErrorKey))
|
||||
? LocalizeText(allowedInteractionErrorKey)
|
||||
: allowedInteractionErrorKey;
|
||||
|
||||
simpleAlert(message, null, null, null, LocalizeText('wiredfurni.title'));
|
||||
};
|
||||
|
||||
if(selectByType && category === RoomObjectCategory.FLOOR)
|
||||
|
||||
Reference in New Issue
Block a user