lots
This commit is contained in:
@@ -50,7 +50,7 @@
|
||||
class="btn btn-sm btn-outline-primary">Make Draft
|
||||
</button
|
||||
>
|
||||
{#if filter["_sys.status_in"] === "trashed"}
|
||||
{#if filter["status_in"] === "trashed"}
|
||||
<button
|
||||
on:click|preventDefault={(e) => changeStatus(e, "published")}
|
||||
type="button"
|
||||
|
||||
@@ -22,12 +22,12 @@
|
||||
<RenderField {record} {schema} {graph} {field}/>
|
||||
</td>
|
||||
{/each}
|
||||
{#if schema.visible.includes("_sys.status")}
|
||||
{#if schema.visible.includes("status")}
|
||||
<td
|
||||
class="text-center"
|
||||
class:is-sort={"-_sys.status" == sort || "_sys.status" == sort}
|
||||
class:is-sort={"-status" == sort || "status" == sort}
|
||||
>
|
||||
<Status status={record._sys.status}/>
|
||||
<Status status={record.status}/>
|
||||
</td>
|
||||
{/if}
|
||||
{#if schema.visible.includes("_sys.createdBy")}
|
||||
|
||||
@@ -102,7 +102,7 @@
|
||||
<li>
|
||||
<a
|
||||
class="dropdown-item"
|
||||
href="{channel.lucentUrl}/content/{schema.name}?filter[_sys.status_in]=trashed"
|
||||
href="{channel.lucentUrl}/content/{schema.name}?filter[status_in]=trashed"
|
||||
>View trashed records</a
|
||||
>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user