Renamed FlexTable to GridTable (accuracy), removed a lot of test code that was no longer required.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
<script>
|
||||
import {Route, router, meta} from 'tinro';
|
||||
import {Meteor} from "meteor/meteor";
|
||||
import FlexTable from "./FlexTable.svelte";
|
||||
import GridTable from "./GridTable.svelte";
|
||||
import {useTracker} from "meteor/rdb:svelte-meteor-data";
|
||||
import {writable} from "svelte/store";
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
{#await Promise.all([Meteor.subscribe('allUsers'), Meteor.subscribe('allRoleAssignments')])}
|
||||
Loading...
|
||||
{:then allUsers}
|
||||
<FlexTable bind:rows={rows} columns="{columns}" rowKey="{getRowKey}" bind:edited="{edited}">
|
||||
<GridTable bind:rows={rows} columns="{columns}" rowKey="{getRowKey}" bind:edited="{edited}">
|
||||
{#if editedPermissions}
|
||||
<div class="editorContainer">
|
||||
<label style="grid-column: 1/4; font-weight: 800; border-bottom: 2px solid #888; margin-bottom: 0.5rem">{$edited.profile.name}</label>
|
||||
@@ -93,7 +93,7 @@
|
||||
<button type="button" style="grid-column: 3/3;" class="button reject-button" on:click={rejectChanges}> </button>
|
||||
</div>
|
||||
{/if}
|
||||
</FlexTable>
|
||||
</GridTable>
|
||||
<button type="button" on:click="{changeColWidth}">Change Width</button>
|
||||
{:catch error}
|
||||
{error.message}
|
||||
|
||||
Reference in New Issue
Block a user