Skip to content

Commit fa526b3

Browse files
committed
remove contact info from help button
1 parent fde2611 commit fa526b3

1 file changed

Lines changed: 15 additions & 6 deletions

File tree

OpenFlow/src/public/Controllers.ts

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -437,12 +437,21 @@ export class MenuCtrl {
437437
},
438438
text: 'Manage Robots and Nodered'
439439
});
440-
tour.addStep({
441-
title: 'What do you want to explorer ?',
442-
text: `Select from one of the below guided tours to learn more. Use your keyboard arror keys to move back and forward and Esc to exit the tour. <br><small><i>For billing questions and sales support feel free to reach out on support@openiap.io, for all other questions use the <a class="text-primary" href="https://bb.openiap.io/" target="_blank" rel="noopener">forum</a> or <a class="text-primary" href="https://rocket.openiap.io/" target="_blank" rel="noopener">rocket</a> chat</i></small>`,
443-
buttons: bottons,
444-
id: 'tourlist'
445-
});
440+
if (this.WebSocketClientService.stripe_api_key == "pk_live_0XOJdv1fPLPnOnRn40CSdBsh009Ge1B2yI") {
441+
tour.addStep({
442+
title: 'What do you want to explorer ?',
443+
text: `Select from one of the below guided tours to learn more. Use your keyboard arror keys to move back and forward and Esc to exit the tour. <br><small><i>For billing questions and sales support feel free to reach out on support@openiap.io, for all other questions use the <a class="text-primary" href="https://bb.openiap.io/" target="_blank" rel="noopener">forum</a> or <a class="text-primary" href="https://rocket.openiap.io/" target="_blank" rel="noopener">rocket</a> chat</i></small>`,
444+
buttons: bottons,
445+
id: 'tourlist'
446+
});
447+
} else {
448+
tour.addStep({
449+
title: 'What do you want to explorer ?',
450+
text: `Select from one of the below guided tours to learn more. Use your keyboard arror keys to move back and forward and Esc to exit the tour.`,
451+
buttons: bottons,
452+
id: 'tourlist'
453+
});
454+
}
446455
tour.start();
447456
} catch (error) {
448457
console.error(error);

0 commit comments

Comments
 (0)