mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
Remove unused limitation check
This commit is contained in:
1 parent
2432635fba
commit
01e8fc902a
1 file changed
-5
-5
@@ -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;
|
||||
@@ -179,7 +175,6 @@
|
||||
buttonEvent="create_backup"
|
||||
buttonType="secondary"
|
||||
buttonDisabled={isDisabled}
|
||||
hasLimitations={hasPolicyCreationLimitations()}
|
||||
maxPolicies={$currentPlan.backupPolicies}
|
||||
policiesCreated={data.policies.total}
|
||||
buttonMethod={() => {
|
||||
|
||||
Reference in new issue
Block a user