File tree 2 files changed +5
-11
lines changed
src/DragonFly.Client/Shared
2 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 2
2
3
3
<BSModal @ref =" Modal" IsFullScreen =" true" IsScrollable =" true" IsCentered =" true" Size =" Size.ExtraLarge" >
4
4
<Header >Select asset</Header >
5
- <Content >
6
- @if (Modal .Shown )
7
- {
8
- <AssetList ItemSelected =" ItemAdded" ListMode =" EntityListMode.Single" />
9
- }
5
+ <Content >
6
+ <AssetList ItemSelected =" ItemAdded" ListMode =" EntityListMode.Single" />
10
7
</Content >
11
8
<Footer >
12
- <BSButton Color =" BSColor.Primary" @onclick =" () => Modal .HideAsync()" >Ok</BSButton >
9
+ <BSButton Color =" BSColor.Primary" @onclick =" () => context .HideAsync()" >Ok</BSButton >
13
10
</Footer >
14
11
</BSModal >
15
12
Original file line number Diff line number Diff line change 3
3
<BSModal @ref =" Modal" IsFullScreen =" true" IsScrollable =" true" Size =" Size.ExtraLarge" >
4
4
<Header >Select asset</Header >
5
5
<Content >
6
- @if (Modal .Shown )
7
- {
8
- <ContentItemTypeList2 Closed =" (a, x) => { if (x == true) ItemAdded((ContentItemTypeList2)a); }" ListMode =" EntityListMode.Single" ></ContentItemTypeList2 >
9
- }
6
+ <ContentItemTypeList2 Closed =" (a, x) => { if (x == true) ItemAdded((ContentItemTypeList2)a); }" ListMode =" EntityListMode.Single" ></ContentItemTypeList2 >
10
7
</Content >
11
8
<Footer >
12
- <BSButton Color =" BSColor.Primary" @onclick =" () => Modal .HideAsync() " >Ok</BSButton >
9
+ <BSButton Color =" BSColor.Primary" @onclick =" () => context .HideAsync() " >Ok</BSButton >
13
10
</Footer >
14
11
</BSModal >
15
12
You can’t perform that action at this time.
0 commit comments