mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-10-30 08:50:26 +01:00
[#976] added optional RelationOptions.DisplayFields and refactored the relation picker UI
This commit is contained in:
1 parent
4c73e16f54
commit
4c010847e3
106 files changed
+1845
-981
No files matched your search
@@ -65,14 +65,18 @@
|
||||
{#if isAdminOnly}
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-sm btn-secondary btn-success lock-toggle"
|
||||
class="btn btn-sm btn-transparent btn-success lock-toggle"
|
||||
on:click={unlock}
|
||||
>
|
||||
<i class="ri-lock-unlock-line" />
|
||||
<span class="txt">Set custom rule</span>
|
||||
</button>
|
||||
{:else}
|
||||
<button type="button" class="btn btn-sm btn-secondary btn-hint lock-toggle" on:click={lock}>
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-sm btn-transparent btn-hint lock-toggle"
|
||||
on:click={lock}
|
||||
>
|
||||
<i class="ri-lock-line" />
|
||||
<span class="txt">Set Admins only</span>
|
||||
</button>
|
||||
|
||||
Reference in new issue
Block a user