Alle Lkzenzen in der Navbar
Dieser Commit ist enthalten in:
@@ -277,7 +277,9 @@ function copyToClipboard(text, button) {
|
||||
|
||||
// Toggle License Status
|
||||
function toggleLicenseStatus(licenseId, isActive) {
|
||||
fetch(`{{ url_for('api.toggle_license', license_id='') }}${licenseId}`, {
|
||||
// Build URL manually to avoid template rendering issues
|
||||
const baseUrl = '{{ url_for("api.toggle_license", license_id=999999) }}'.replace('999999', licenseId);
|
||||
fetch(baseUrl, {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren