replacing site-local error display by global error display
This commit is contained in:
@@ -25,7 +25,7 @@
|
||||
companies[company.id] = company;
|
||||
yikes();
|
||||
} else {
|
||||
error(await resp.text())
|
||||
error(resp);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
companies = await resp.json();
|
||||
yikes();
|
||||
} else {
|
||||
error(await resp.text());
|
||||
error(resp);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -131,4 +131,4 @@
|
||||
</tbody>
|
||||
</table>
|
||||
{/if}
|
||||
</fieldset>
|
||||
</fieldset>
|
||||
|
||||
Reference in New Issue
Block a user