refactor: remove legacy modules from API and UI
This commit is contained in:
@@ -19,18 +19,6 @@
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<section class="card">
|
||||
<h2>Ticket Sync</h2>
|
||||
<form class="form" data-endpoint="/connectors/tickets/sync">
|
||||
<div class="field">
|
||||
<label for="tickets">Payload (JSON)</label>
|
||||
<textarea class="input" id="tickets" name="payload" rows="10">{{.TicketPayload}}</textarea>
|
||||
</div>
|
||||
<button class="button" type="submit">Sync Tickets</button>
|
||||
<pre class="meta" data-response></pre>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
<section class="card">
|
||||
<h2>Failure Ingest</h2>
|
||||
<form class="form" data-endpoint="/ingest/failures">
|
||||
@@ -88,7 +76,7 @@
|
||||
const hardwareFileInput = document.getElementById("hardwareFile");
|
||||
const hardwareTextarea = document.getElementById("hardware");
|
||||
if (hardwareFileInput && hardwareTextarea) {
|
||||
hardwareFileInput.addEventListener("change", async (event) => {
|
||||
hardwareFileInput.addEventListener("change", async () => {
|
||||
const file = hardwareFileInput.files?.[0];
|
||||
if (!file) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user