Skip to content

Commit 341213e

Browse files
committed
Fix memory control
1 parent d05fdc5 commit 341213e

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

OpenFlow/src/public/Nodered.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,8 @@ <h1 translate lib="web">nodered</h1>
119119

120120
</section>
121121
<section>
122-
<div class="form-group" ng-show="menuctrl.hasrole('admins') && menuctrl.WebSocketClientService.stripe_api_key == ''">
122+
<div class="form-group" ng-show="menuctrl.hasrole('admins')
123+
&& !menuctrl.WebSocketClientService.multi_tenant">
123124
<label class="col-sm-3 control-label"><span translate lib="web">memory</span>: </label>
124125
<div class="col-sm-9">
125126
<select class="form-control" ng-model="ctrl.limitsmemory">
@@ -166,7 +167,9 @@ <h1 translate lib="web">nodered</h1>
166167
</section>
167168
<br />
168169
<br />
169-
<small ng-show="menuctrl.WebSocketClientService.stripe_api_key != ''"><em style="color: gray;">
170+
<small ng-show="menuctrl.WebSocketClientService.stripe_api_key == 'pk_test_DNS5WyEjThYBdjaTgwuyGeVV00KqiCvf99' ||
171+
menuctrl.WebSocketClientService.stripe_api_key == 'pk_live_0XOJdv1fPLPnOnRn40CSdBsh009Ge1B2yI'"><em
172+
style="color: gray;">
170173
Free nodered instances will be shutdown after 24 hours. Create a customer, and add billing information, in order to
171174
buy the option to get more RAM for a nodered that will not stop after 24 hours.
172175
</em></small>

0 commit comments

Comments
 (0)