File tree Expand file tree Collapse file tree 1 file changed +6
-10
lines changed
src/components/chmod-checkbox Expand file tree Collapse file tree 1 file changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -9,21 +9,17 @@ export class CHModCheckbox {
99 /**
1010 * The first name
1111 */
12- @Prop ( ) first : string ;
12+ @Prop ( ) first : string = "READ" ;
1313
1414 /**
1515 * The middle name
1616 */
17- @Prop ( ) middle : string ;
17+ @Prop ( ) middle : string = "WRITE" ;
1818
1919 /**
2020 * The last name
2121 */
22- @Prop ( ) last : string ;
23-
24- // private getText(): string {
25- // return format(this.first, this.middle, this.last);
26- // }
22+ @Prop ( ) last : string = "EXECUTE" ;
2723
2824 render ( ) {
2925 return (
@@ -35,7 +31,7 @@ export class CHModCheckbox {
3531 < label htmlFor = "read" >
3632 < span > </ span >
3733 </ label >
38- < span class = "content-text-style" > READ </ span >
34+ < span class = "content-text-style" > { this . first } </ span >
3935 </ div >
4036 </ form >
4137 </ div >
@@ -46,7 +42,7 @@ export class CHModCheckbox {
4642 < label htmlFor = "write" >
4743 < span > </ span >
4844 </ label >
49- < span class = "content-text-style" > WRITE </ span >
45+ < span class = "content-text-style" > { this . middle } </ span >
5046 </ div >
5147 </ form >
5248 </ div >
@@ -57,7 +53,7 @@ export class CHModCheckbox {
5753 < label htmlFor = "execute" >
5854 < span > </ span >
5955 </ label >
60- < span class = "content-text-style" > EXECUTE </ span >
56+ < span class = "content-text-style" > { this . last } </ span >
6157 </ div >
6258 </ form >
6359 </ div >
You can’t perform that action at this time.
0 commit comments