File tree Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Expand file tree Collapse file tree 3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 7
7
.vscode
8
8
dist /
9
9
webpack.config.js
10
+ zip.py
10
11
11
12
# for public repo
12
13
detected.png
Original file line number Diff line number Diff line change 2
2
"manifest_version" : 3 ,
3
3
"name" : " DocDecoder - Summarize Web Policies With AI" ,
4
4
"description" : " DocDecoder uses GPT-4 to generate clear, concise summaries of any site's legal policies for you to skim over before you accept them." ,
5
- "version" : " 1.2.5 " ,
5
+ "version" : " 1.2.6 " ,
6
6
"action" : {
7
7
"default_popup" : " popup.html" ,
8
8
"default_icon" : {
Original file line number Diff line number Diff line change @@ -551,7 +551,13 @@ function updatePremiumFeaturesVisibility() {
551
551
document . getElementById ( 'notifs-container' ) . removeAttribute ( 'title' ) ;
552
552
553
553
document . getElementById ( 'upgrade-btn' ) . style . display = 'none' ;
554
- document . getElementById ( 'manage-subscription-btn' ) . style . display = 'block' ;
554
+
555
+ if ( userPlan === 'premium' || userPlan === 'premium-plus' ) {
556
+ document . getElementById ( 'manage-subscription-btn' ) . style . display = 'none' ;
557
+ } else {
558
+ document . getElementById ( 'manage-subscription-btn' ) . style . display = 'block' ;
559
+ }
560
+
555
561
document . getElementById ( 'premium-button' ) . style . display = 'none' ;
556
562
document . getElementById ( 'upgrade-premium-txt' ) . style . display = 'none' ;
557
563
} else {
You can’t perform that action at this time.
0 commit comments