Skip to content

Commit

Permalink
[BI-563] change verbage remove to archive
Browse files Browse the repository at this point in the history
  • Loading branch information
dmeidlin committed Feb 9, 2021
1 parent 48f882d commit 81bfd7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/trait/TraitListsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
class="button is-danger"
v-on:click="modalDeleteHandler"
>
<strong>Yes, {{ focusTrait.active ? 'remove' : 'restore' }}</strong>
<strong>Yes, {{ focusTrait.active ? 'archive' : 'restore' }}</strong>
</button>
<button
class="button"
Expand Down Expand Up @@ -225,7 +225,7 @@ export default class TraitTable extends Vue {

// Archive trait
private focusTrait: Trait = new Trait();
private deactivateWarningTitle = 'Remove trait from this program?';
private deactivateWarningTitle = 'Archive trait in this program?';
private deactivateActive: boolean = false;

// TODO: Move these into an event bus in the future
Expand Down Expand Up @@ -269,7 +269,7 @@ export default class TraitTable extends Vue {

activateArchive(focusTrait: Trait){
if (focusTrait.active) {
this.deactivateWarningTitle = `Remove "${focusTrait.traitName}" from ${this.activeProgram!.name!}?`;
this.deactivateWarningTitle = `Archive "${focusTrait.traitName}" in ${this.activeProgram!.name!}?`;
} else {
this.deactivateWarningTitle = `Restore "${focusTrait.traitName}" to ${this.activeProgram!.name!}?`;
}
Expand Down

0 comments on commit 81bfd7a

Please sign in to comment.