mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix(plugin-resource-manager): CB-2065 allow @
This commit is contained in:
@@ -32,7 +32,7 @@ interface State {
|
||||
submit: () => Promise<void>;
|
||||
}
|
||||
|
||||
const regex = /^(?!\.)[\p{L}\w\-$.\s()]+$/u;
|
||||
const regex = /^(?!\.)[\p{L}\w\-$.\s()@]+$/u;
|
||||
|
||||
export const SaveScriptDialog: DialogComponent<Payload, string> = observer(function SaveScriptDialog({
|
||||
payload,
|
||||
|
||||
@@ -16,5 +16,5 @@ export default [
|
||||
['plugin_resource_manager_script_not_found_title', 'Failed to find the associated script'],
|
||||
['plugin_resource_manager_script_delete_confirmation', 'You are going to delete "{args.name}". Are you sure?'],
|
||||
['plugin_resource_manager_script_not_found_message', 'The script was probably removed or renamed. The last known value will be used'],
|
||||
['plugin_resource_manager_script_name_invalid_characters_message', 'Script\'s name may contain the following symbols "_-$.()" and can\'t start with a dot'],
|
||||
['plugin_resource_manager_script_name_invalid_characters_message', 'Script\'s name may contain the following symbols "_-$.()@" and can\'t start with a dot'],
|
||||
];
|
||||
@@ -16,5 +16,5 @@ export default [
|
||||
['plugin_resource_manager_script_not_found_title', 'Failed to find the associated script'],
|
||||
['plugin_resource_manager_script_delete_confirmation', 'You are going to delete "{args.name}". Are you sure?'],
|
||||
['plugin_resource_manager_script_not_found_message', 'The script was probably removed or renamed. The last known value will be used'],
|
||||
['plugin_resource_manager_script_name_invalid_characters_message', 'Script\'s name may contain the following symbols "_-$.()" and can\'t start with a dot'],
|
||||
['plugin_resource_manager_script_name_invalid_characters_message', 'Script\'s name may contain the following symbols "_-$.()@" and can\'t start with a dot'],
|
||||
];
|
||||
@@ -16,5 +16,5 @@ export default [
|
||||
['plugin_resource_manager_script_not_found_title', 'Не удалось найти привязанный скрипт'],
|
||||
['plugin_resource_manager_script_delete_confirmation', 'Вы удаляете "{args.name}". Удалить?'],
|
||||
['plugin_resource_manager_script_not_found_message', 'Возможно скрипт был удален или переименован. Будет использовано последнее известное значение'],
|
||||
['plugin_resource_manager_script_name_invalid_characters_message', 'Имя скрипта может содержать следующие символы "_-$.()" и не может начинаться с точки'],
|
||||
['plugin_resource_manager_script_name_invalid_characters_message', 'Имя скрипта может содержать следующие символы "_-$.()@" и не может начинаться с точки'],
|
||||
];
|
||||
@@ -16,5 +16,5 @@ export default [
|
||||
['plugin_resource_manager_script_delete_confirmation', 'You are going to delete "{args.name}". Are you sure?'],
|
||||
['plugin_resource_manager_script_not_found_title', '找不到关联的脚本'],
|
||||
['plugin_resource_manager_script_not_found_message', '脚本可能被删除或重命名,将使用最后的有效值'],
|
||||
['plugin_resource_manager_script_name_invalid_characters_message', 'Script\'s name may contain the following symbols "_-$.()" and can\'t start with a dot'],
|
||||
['plugin_resource_manager_script_name_invalid_characters_message', 'Script\'s name may contain the following symbols "_-$.()@" and can\'t start with a dot'],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user