Skip to content

Commit

Permalink
Remove unused limitation check
Browse files Browse the repository at this point in the history
  • Loading branch information
ernstmul committed Dec 19, 2024
1 parent 2432635 commit 01e8fc9
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,6 @@
export let data: PageData;
$: hasPolicyCreationLimitations = () => {
return data.policies.total >= $currentPlan.backupPolicies;
};
const showFeedbackNotification = () => {
let counter = localStorage.getItem('createBackupsCounter');
const parsedCounter = counter ? parseInt(counter, 10) : 0;
Expand Down Expand Up @@ -179,7 +175,6 @@
buttonEvent="create_backup"
buttonType="secondary"
buttonDisabled={isDisabled}
hasLimitations={hasPolicyCreationLimitations()}
maxPolicies={$currentPlan.backupPolicies}
policiesCreated={data.policies.total}
buttonMethod={() => {
Expand Down

0 comments on commit 01e8fc9

Please sign in to comment.