applied lint typo fixes

This commit is contained in:
Gani Georgiev
2026-03-04 22:31:27 +02:00
parent 4a40c1b897
commit bb18799a0b
56 changed files with 4788 additions and 4780 deletions

View File

@@ -79,9 +79,13 @@
async function detectConflictingOIDCs() {
conflictingOIDCs = [];
if (!isNewCollectionAuth) {
return
}
for (let name of oidcProviders) {
let oldProvider = oldCollection?.oauth2?.providers?.find((p) => p.name == name);
let newProvider = newCollection?.oauth2?.providers?.find((p) => p.name == name);
let oldProvider = oldCollection?.oauth2?.providers?.find?.((p) => p.name == name);
let newProvider = newCollection?.oauth2?.providers?.find?.((p) => p.name == name);
if (!oldProvider || !newProvider) {
continue;

View File

@@ -201,7 +201,7 @@
<p>
<strong>NB!</strong> When the batch request is send as
<code>multipart/form-data</code>, the regular batch action fields are expected to be
submitted as serailized json under the <code>@jsonPayload</code> field and file keys need
submitted as serialized json under the <code>@jsonPayload</code> field and file keys need
to follow the pattern <code>requests.N.fileField</code> or
<code>requests[N].fileField</code>
<em>

View File

@@ -242,7 +242,7 @@
<div class="schema-field-options-footer">
<!-- @todo move to each field after the refactoring -->
{#if !field.primaryKey && field.type != "autodate" && (!isAuthCollection || !authHideNonemptyToggle.includes(field.name))}
<Field class="form-field form-field-toggle" name="requried" let:uniqueId>
<Field class="form-field form-field-toggle" name="required" let:uniqueId>
<input type="checkbox" id={uniqueId} bind:checked={field.required} />
<label for={uniqueId}>
<span class="txt">{requiredLabel}</span>