2 Commits

Author SHA1 Message Date
64faf93a11 Show modal on Ctrl+Enter for new action in Editor
Added logic to display the modal when Ctrl+Enter is pressed and the current action is 'new', improving the user workflow for creating new items.
2025-08-06 23:59:50 +01:00
Zephrynis
59af15d5c6 Update issue templates 2025-07-21 13:02:28 +01:00
2 changed files with 8 additions and 7 deletions

View File

@@ -1,8 +1,8 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
title: "[BUG] "
labels: bug
assignees: ''
---
@@ -28,11 +28,10 @@ If applicable, add screenshots to help explain your problem.
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
**Panel Info (please complete the following information):**
- Pterodactyl Version: [e.g. 1.11.11]
- Blueprint Version: [e.g. beta-2024-12]
- Blueprint Addons [e.g. PteroMonaco, Nebula, Any others]
**Additional context**
Add any other context about the problem here.

View File

@@ -364,6 +364,8 @@ const Editor = () => {
event.preventDefault();
if (action === 'edit') {
save();
} else if (action === 'new') {
setModalVisible(true);
}
}
};