fix(lint): remove redundant optional chaining
This commit is contained in:
@@ -220,21 +220,19 @@
|
||||
<div>
|
||||
<p cds-text="secondary regular" class="mb-10">
|
||||
Submit Status:
|
||||
@if (activeParsedDataset.submitResult?.success) {
|
||||
@if (activeParsedDataset.submitResult.success) {
|
||||
<span class="color-green"><strong>SUCCESS</strong></span>
|
||||
}
|
||||
@if (activeParsedDataset.submitResult?.error) {
|
||||
@if (activeParsedDataset.submitResult.error) {
|
||||
<span class="color-red"><strong>ERROR</strong></span>
|
||||
}
|
||||
</p>
|
||||
@if (activeParsedDataset.submitResult?.error) {
|
||||
@if (activeParsedDataset.submitResult.error) {
|
||||
<p cds-text="secondary regular">Error details:</p>
|
||||
}
|
||||
</div>
|
||||
<div>
|
||||
@if (
|
||||
!submittingCsv && activeParsedDataset.submitResult?.error
|
||||
) {
|
||||
@if (!submittingCsv && activeParsedDataset.submitResult.error) {
|
||||
<button
|
||||
(click)="reSubmitTable(activeParsedDataset)"
|
||||
class="btn btn-primary mt-10"
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
<p class="mt-0 d-inline-block">App Location: {{ sasjsConfig.appLoc }}</p>
|
||||
</h3>
|
||||
<div class="modal-body h-70vh">
|
||||
@if (sasjsRequests?.length! < 1) {
|
||||
@if (sasjsRequests.length < 1) {
|
||||
<p class="no-reqs">No requests made</p>
|
||||
}
|
||||
|
||||
@if (opened && sasjsRequests?.length! > 0) {
|
||||
@if (opened && sasjsRequests.length > 0) {
|
||||
<clr-stack-view>
|
||||
@for (programLog of sasjsRequests; track programLog; let i = $index) {
|
||||
<clr-stack-block [id]="'request_' + i" [clrStackViewLevel]="1">
|
||||
@@ -112,7 +112,7 @@
|
||||
[textContent]="programLog.logFile"
|
||||
></div>
|
||||
}
|
||||
@if (programLog.logFile?.length! > 0) {
|
||||
@if (programLog.logFile.length > 0) {
|
||||
<button
|
||||
(click)="downloadLog(programLog.logFile)"
|
||||
type="button"
|
||||
@@ -131,7 +131,7 @@
|
||||
<div class="log-wrapper">
|
||||
{{ programLog.sourceCode }}
|
||||
</div>
|
||||
@if (programLog.sourceCode?.length! > 0) {
|
||||
@if (programLog.sourceCode.length > 0) {
|
||||
<button
|
||||
(click)="downloadSourceCode(programLog.sourceCode)"
|
||||
type="button"
|
||||
@@ -150,7 +150,7 @@
|
||||
<div class="log-wrapper">
|
||||
{{ programLog.generatedCode }}
|
||||
</div>
|
||||
@if (programLog.generatedCode?.length! > 0) {
|
||||
@if (programLog.generatedCode.length > 0) {
|
||||
<button
|
||||
(click)="
|
||||
downloadGeneratedCode(programLog.generatedCode)
|
||||
|
||||
Reference in New Issue
Block a user