Skip to content

Commit

Permalink
fix: declares more than one parameter matching the name 'style' (#638)
Browse files Browse the repository at this point in the history
* chore: Upgrade

* fix: declares more than one parameter matching the name 'style'.

* fix: declares more than one parameter matching the name 'style'
  • Loading branch information
wzh425 authored Jul 12, 2024
1 parent 26cd2ce commit a65db76
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,6 @@
[Parameter]
public RenderFragment ChildContent { get; set; } = default!;

[Parameter]
public string Style { get; set; } = "border: 1px solid #E2E7F4;";

[Parameter]
public bool IsPin { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
{
var appLatest = _appLatestReleaseConfig.FirstOrDefault(x => x.AppId == app.Id);
<MCol Lg="4" Md="6" Sm="12">
<AppCard
<AppCard
OnClick="()=>NavigateToConfigAsync(new ConfigComponentModel(app.Id, app.EnvironmentClusters[0].Id, ConfigObjectType.App, app.ProjectId))" Style="border: none;"
OnPinClick="()=>AppDetailPinAsync(app)" IsPin="app.IsPinned" App="app" EnvironmentClusters="app.EnvironmentClusters" LatestReleaseConfig="appLatest">
<MChipGroup @key="app.EnvironmentClusters" Class="env-cluster-chip-group" ActiveClass="primary--text">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ public partial class Config
[Parameter]
public int ProjectId { get; set; }

[Parameter]
public string Style { get; set; } = "height: calc(100vh - 192px);";

[Parameter]
public string ConfigPanelStyle { get; set; } = "height: calc(100vh - 244px);";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
{
var appLatest = _appLatestReleaseConfig.FirstOrDefault(x => x.AppId == app.Id);
<MCol Lg="4" Md="6" Sm="12">
<AppCard
<AppCard Style="border: 1px solid #E2E7F4;"
OnClick="() => HandleAppCardClick(new ConfigComponentModel(app.Id, app.EnvironmentClusters[0].Id, ConfigObjectType.App, app.ProjectId))"
OnPinClick="() => HandleAppPinClick(app)" IsPin="app.IsPinned" App="app" EnvironmentClusters="app.EnvironmentClusters" LatestReleaseConfig="appLatest">
<MChipGroup @key="app.EnvironmentClusters" Class="env-cluster-chip-group" ActiveClass="primary--text">
Expand Down

0 comments on commit a65db76

Please sign in to comment.