mirror of
https://github.com/avatao-content/frontend-tutorial-framework
synced 2025-01-15 21:41:55 +00:00
Signal whether code state is dirty via underlining
This commit is contained in:
parent
f712fbde52
commit
809b78056d
@ -7,7 +7,9 @@
|
||||
[class.disabled]="filename === file"
|
||||
[disabled]="filename === file"
|
||||
[class.tao-tab-btn-saved]="filename === file && codeState === 'SAVED'">
|
||||
{{file}}
|
||||
<span *ngIf="filename !== file">{{file}}</span>
|
||||
<span *ngIf="filename === file"
|
||||
[class.underline]="codeState === 'DIRTY'">{{file}}</span>
|
||||
</button>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user