Hide Max Storage Amount notice for Sub-Account

merge-requests/256/merge
Moe 2022-06-01 13:11:01 -07:00
parent d42cbbb10c
commit ce406f6fd9
1 changed files with 2 additions and 2 deletions

View File

@ -102,14 +102,14 @@ function drawAddStorageIndicators(){
}
function showLoginNotices(){
$.each([
{
!$user.details.sub ? {
isValid: !$user.details.size || parseInt($user.details.size) < 20000,
PNotify: {
type:'warning',
title: lang['Max Storage Amount'],
text: lang.setMaxStorageAmountText,
}
}
} : {}
],function(n,notice){
if(notice.isValid){
new PNotify(notice.PNotify)