Skip to content
This repository has been archived by the owner on Oct 9, 2024. It is now read-only.

Add a loading state to the ChecTable component #485

Open
ScopeyNZ opened this issue Jul 19, 2021 · 1 comment
Open

Add a loading state to the ChecTable component #485

ScopeyNZ opened this issue Jul 19, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@ScopeyNZ
Copy link
Contributor

ScopeyNZ commented Jul 19, 2021

It's becoming pretty common-place for us to add a row with a loading indicator to a table, and define some stying for it. We should add this to the ChecTable component so we DRY it up:

https://github.com/chec/dashboard/blob/07b1ae185b3219b2c1ca8a90cca8e15e0af4849b/src/modules/settings/components/shipping/ZoneTable.vue#L145-L152

The only weird thing about this is that we'll need to tell the component how many columns are in the table.

@ScopeyNZ ScopeyNZ added the enhancement New feature or request label Jul 19, 2021
@robbieaverill
Copy link
Contributor

If only HTML supported something like colspan="*"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants