Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-SunbirdEd-portal-old
Commits
06bd687f
Commit
06bd687f
authored
2 years ago
by
5Amogh
Browse files
Options
Download
Patches
Plain Diff
Issue #SB-31008 fix: disabling the graphs and tables feature
parent
05a848bb
master
dependabot/npm_and_yarn/src/app/client/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/app/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/app/express-4.17.3
dependabot/npm_and_yarn/src/app/jsonwebtoken-9.0.0
dependabot/npm_and_yarn/src/desktop/OpenRAP/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/desktop/OpenRAP/express-4.17.3
dependabot/npm_and_yarn/src/desktop/OpenRAP/jsonwebtoken-9.0.0
dependabot/npm_and_yarn/src/desktop/OpenRAP/qs-6.5.3
dependabot/npm_and_yarn/src/desktop/decode-uri-component-0.2.2
dependabot/npm_and_yarn/src/desktop/express-4.17.3
dependabot/npm_and_yarn/src/desktop/jsonwebtoken-9.0.0
dependabot/npm_and_yarn/src/desktop/qs-6.10.3
filters_5.1.1
gcp_test
release-5.0.0
release-5.0.0.1
release-5.0.0.2
release-5.0.0.3
release-5.0.1
release-5.0.2
release-5.1.0
release-5.1.1
sharathkashyap-patch-1
Tags unavailable
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html
+2
-2
...mponents/program-datasets/program-datasets.component.html
src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.ts
+10
-10
...components/program-datasets/program-datasets.component.ts
with
12 additions
and
12 deletions
+12
-12
src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.html
+
2
−
2
View file @
06bd687f
...
...
@@ -39,7 +39,7 @@
</ng-template>
<ng-container
*ngTemplateOutlet=
"programDataset"
></ng-container>
</mat-tab>
<mat-tab
appTelemetryInteract
>
<!--
<mat-tab appTelemetryInteract>
<ng-template mat-tab-label>
<span class="font-weight-bold">{{resourceService?.frmelmnts?.lbl?.graphs}}</span>
</ng-template>
...
...
@@ -50,7 +50,7 @@
<span class="font-weight-bold">{{resourceService?.frmelmnts?.lbl?.table}}</span>
</ng-template>
<ng-container *ngTemplateOutlet="table"></ng-container>
</mat-tab>
</mat-tab>
-->
</mat-tab-group>
</div>
...
...
This diff is collapsed.
Click to expand it.
src/app/client/src/app/modules/program-dashboard/components/program-datasets/program-datasets.component.ts
+
10
−
10
View file @
06bd687f
...
...
@@ -311,16 +311,16 @@ export class DatasetsComponent implements OnInit, OnDestroy {
"
reportconfig.report_status
"
:
"
active
"
}
this
.
dashboardReport$
=
this
.
renderReport
(
filtersForReport
).
pipe
(
catchError
(
err
=>
{
console
.
error
(
'
Error while rendering report
'
,
err
);
this
.
noResultMessage
=
{
'
messageText
'
:
_
.
get
(
err
,
'
messageText
'
)
||
'
messages.stmsg.m0131
'
};
this
.
noResult
=
true
;
return
of
({});
})
);
//
this.dashboardReport$ = this.renderReport(filtersForReport).pipe(
//
catchError(err => {
//
console.error('Error while rendering report', err);
//
this.noResultMessage = {
//
'messageText': _.get(err, 'messageText') || 'messages.stmsg.m0131'
//
};
//
this.noResult = true;
//
return of({});
//
})
//
);
if
(
types
&&
types
.
length
>
0
)
{
types
.
forEach
(
element
=>
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets