Skip to content

Commit

Permalink
Add do not store
Browse files Browse the repository at this point in the history
  • Loading branch information
KlausSchaefers committed Jan 10, 2025
1 parent 2f4d91d commit 722e94b
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/page/Share.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
</a>
</div>

<div class="MatcMarginTopL MatcShareRow form-group">
<CheckBox v-model="doNotStore" label="Do not store test data" />
</div>

<div class="MatcMarginTop MatcShareRow MatcSharePasswordRow" v-if="hasPassword">
<CheckBox v-model="needPassword" label="Require Password" />
Expand Down Expand Up @@ -79,6 +82,7 @@ export default {
needPassword: false,
hasPassword: false,
language: 'en',
doNotStore: false,
languageOptions: [
{value: 'en', label: 'English'},
{value: 'de', label: 'German'},
Expand Down Expand Up @@ -115,7 +119,8 @@ export default {
},
testLink() {
let testURL = this.base + "/#/test.html?h=" + this.passwortedHash;
if (this.isPublic) {
console.debug('testLink', this.doNotStore)
if (this.isPublic || this.doNotStore) {
testURL += "&log=false";
}
if (this.language) {
Expand Down

0 comments on commit 722e94b

Please sign in to comment.