fix: #72 fixed that the height of the PrivateEntityCard.razor changes when don't having all dropdown menues (#74)
Reviewed-on: #74
This commit was merged in pull request #74.
This commit is contained in:
@@ -40,8 +40,8 @@
|
|||||||
</MudSelect>
|
</MudSelect>
|
||||||
<!--</editor-fold>-->
|
<!--</editor-fold>-->
|
||||||
|
|
||||||
@if (PrivateEntity.GlobalEntity.MediaType.Name == "Series" || PrivateEntity.GlobalEntity.MediaType.Name == "Anime")
|
<!-- @if (PrivateEntity.GlobalEntity.MediaType.Name == "Series" || PrivateEntity.GlobalEntity.MediaType.Name == "Anime") -->
|
||||||
{
|
<!--{-->
|
||||||
<!--<editor-fold desc="Dropdown-Season">-->
|
<!--<editor-fold desc="Dropdown-Season">-->
|
||||||
<MudSelect
|
<MudSelect
|
||||||
T="int?"
|
T="int?"
|
||||||
@@ -49,7 +49,8 @@
|
|||||||
ValueChanged="@(newSeason => OnSeasonChange.InvokeAsync(newSeason))"
|
ValueChanged="@(newSeason => OnSeasonChange.InvokeAsync(newSeason))"
|
||||||
Dense="true"
|
Dense="true"
|
||||||
Variant="Variant.Outlined"
|
Variant="Variant.Outlined"
|
||||||
Label="">
|
Label=""
|
||||||
|
Class="@(PrivateEntity.GlobalEntity.MediaType.Name == "Series" ? "" : "invisible")">
|
||||||
@{
|
@{
|
||||||
int? currentSeason = PrivateEntity.Season ?? 1;
|
int? currentSeason = PrivateEntity.Season ?? 1;
|
||||||
int? startOffsetSeason = currentSeason > 1 ? -1 : 0;
|
int? startOffsetSeason = currentSeason > 1 ? -1 : 0;
|
||||||
@@ -69,7 +70,8 @@
|
|||||||
ValueChanged="@(newEpisode => OnEpisodeChange.InvokeAsync(newEpisode))"
|
ValueChanged="@(newEpisode => OnEpisodeChange.InvokeAsync(newEpisode))"
|
||||||
Dense="true"
|
Dense="true"
|
||||||
Variant="Variant.Outlined"
|
Variant="Variant.Outlined"
|
||||||
Label="">
|
Label=""
|
||||||
|
Class="@(PrivateEntity.GlobalEntity.MediaType.Name == "Series" ? "" : "invisible")">
|
||||||
@{
|
@{
|
||||||
int? currentEpisode = PrivateEntity.Episode ?? 1;
|
int? currentEpisode = PrivateEntity.Episode ?? 1;
|
||||||
int? startOffsetEpisode = currentEpisode > 1 ? -1 : 0;
|
int? startOffsetEpisode = currentEpisode > 1 ? -1 : 0;
|
||||||
@@ -81,7 +83,7 @@
|
|||||||
}
|
}
|
||||||
</MudSelect>
|
</MudSelect>
|
||||||
<!--</editor-fold>-->
|
<!--</editor-fold>-->
|
||||||
}
|
<!--}-->
|
||||||
|
|
||||||
<!--<editor-fold desc="Details Button">-->
|
<!--<editor-fold desc="Details Button">-->
|
||||||
<MudStack Row="true" Justify="Justify.FlexEnd">
|
<MudStack Row="true" Justify="Justify.FlexEnd">
|
||||||
|
|||||||
Reference in New Issue
Block a user