Skip to content

Commit

Permalink
fix cards namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianthedev committed Dec 18, 2023
1 parent bca1cbd commit 3fbce79
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion template/app/avo/cards/active_subscriptions.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Avo::Cards::ActiveSubscriptions < Avo::Dashboards::MetricCard
class Avo::Cards::ActiveSubscriptions < Avo::Cards::MetricCard
self.id = "active_subscriptions"
self.label = "Active subscriptions"
self.description = "Total number of active subscriptions"
Expand Down
2 changes: 1 addition & 1 deletion template/app/avo/cards/total_revenue.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Avo::Cards::TotalRevenue < Avo::Dashboards::MetricCard
class Avo::Cards::TotalRevenue < Avo::Cards::MetricCard
self.id = "total_revenue"
self.label = "Total revenue"
self.prefix = "$"
Expand Down
2 changes: 1 addition & 1 deletion template/app/avo/cards/users_count.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Avo::Cards::UsersCount < Avo::Dashboards::MetricCard
class Avo::Cards::UsersCount < Avo::Cards::MetricCard
self.id = "users_count"
self.label = "Users count"
self.description = "Total number of users registered"
Expand Down

0 comments on commit 3fbce79

Please sign in to comment.