Add sorting columns
This commit is contained in:
parent
adf24cbd5c
commit
90adbcfb7c
34 changed files with 833 additions and 80 deletions
|
|
@ -73,13 +73,13 @@
|
|||
</Dialog>
|
||||
|
||||
@code {
|
||||
protected BookmarkDto Model { get; set; } = new BookmarkDto("", "", null, 0);
|
||||
protected BookmarkDto Model { get; set; } = new BookmarkDto("", "", null, 0, 0);
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
base.OnInitialized();
|
||||
|
||||
this.Model = new BookmarkDto("", "", null, this.state.Value.GroupId);
|
||||
this.Model = new BookmarkDto("", "", null, 0, this.state.Value.GroupId);
|
||||
|
||||
actionSubscriber.SubscribeToAction<ShowCreateBookmarkFormAction>(this,
|
||||
a => this.Model.BookmarkGroupId = a.GroupId);
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@
|
|||
[Parameter]
|
||||
public EventCallback<BookmarkContainerDto> OnCreated { get; set; }
|
||||
|
||||
private BookmarkContainerDto Model { get; set; } = new BookmarkContainerDto("");
|
||||
private BookmarkContainerDto Model { get; set; } = new BookmarkContainerDto("", 0);
|
||||
|
||||
protected void OnSubmit()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -63,13 +63,13 @@
|
|||
</Dialog>
|
||||
|
||||
@code {
|
||||
private BookmarkGroupDto Model { get; set; } = new("", "", 0);
|
||||
private BookmarkGroupDto Model { get; set; } = new("", "", 0, 0);
|
||||
|
||||
protected override void OnInitialized()
|
||||
{
|
||||
base.OnInitialized();
|
||||
|
||||
this.Model = new BookmarkGroupDto("", "", state.Value.ContainerId);
|
||||
this.Model = new BookmarkGroupDto("", "", 0, state.Value.ContainerId);
|
||||
|
||||
// Keep the model's container ID up to date
|
||||
actionSubscriber.SubscribeToAction<ShowCreateGroupFormAction>(this,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue