fix: fix view report
This commit is contained in:
@@ -158,9 +158,11 @@
|
|||||||
</div>
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<a href="/space/new/edit">
|
{#if session}
|
||||||
<img src={crossUrl} alt="new" class="new-space" />
|
<a href="/space/new/edit">
|
||||||
</a>
|
<img src={crossUrl} alt="new" class="new-space" />
|
||||||
|
</a>
|
||||||
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</Navbar>
|
</Navbar>
|
||||||
|
|
||||||
@@ -175,7 +177,11 @@
|
|||||||
<input type="time" bind:value={closingFilter} />
|
<input type="time" bind:value={closingFilter} />
|
||||||
</label>
|
</label>
|
||||||
</div>
|
</div>
|
||||||
<a href="/space/reports" class="checkReports">Check Reports</a>
|
{#if adminMode}
|
||||||
|
<div class="checkReports">
|
||||||
|
<Button href="/space/reports" type="link" style="red">Check Reports</Button>
|
||||||
|
</div>
|
||||||
|
{/if}
|
||||||
{#each filteredStudySpaces as studySpace (studySpace.id)}
|
{#each filteredStudySpaces as studySpace (studySpace.id)}
|
||||||
{@const imgUrl =
|
{@const imgUrl =
|
||||||
studySpace.study_space_images.length > 0
|
studySpace.study_space_images.length > 0
|
||||||
|
|||||||
Reference in New Issue
Block a user