Skip to content

Commit

Permalink
Merge branch 'master' into fix-couchdb
Browse files Browse the repository at this point in the history
  • Loading branch information
ozyx committed Aug 22, 2023
2 parents 401b7b4 + 351800b commit 9992e59
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 5 deletions.
5 changes: 4 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
loglevel=warn

#Prevent folks from ignoring an important error when building from source
engine-strict=true
engine-strict=true

# Dont include lockfile
package-lock=false
11 changes: 9 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@
"cov:unit:publish": "codecov --disable=gcov -f ./coverage/unit/lcov.info -F unit",
"prepare": "npm run build:prod && npx tsc"
},
"homepage": "https://nasa.github.io/openmct",
"repository": {
"type": "git",
"url": "https://github.com/nasa/openmct.git"
Expand All @@ -126,6 +127,12 @@
"ios_saf >= 16",
"Safari >= 16"
],
"author": "National Aeronautics and Space Administration",
"license": "Apache-2.0"
"author": {
"name": "National Aeronautics and Space Administration",
"url": "https://www.nasa.gov"
},
"license": "Apache-2.0",
"keywords": [
"nasa"
]
}
7 changes: 6 additions & 1 deletion src/plugins/autoflow/AutoflowTabularRowController.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,12 @@ define([], function () {
this.updateRowData.bind(this)
);

this.openmct.telemetry.request(this.domainObject, { size: 1 }).then(
const options = {
size: 1,
strategy: 'latest',
timeContext: this.openmct.time.getContextForView([])
};
this.openmct.telemetry.request(this.domainObject, options).then(
function (history) {
if (!this.initialized && history.length > 0) {
this.updateRowData(history[history.length - 1]);
Expand Down
6 changes: 5 additions & 1 deletion src/plugins/gauge/components/Gauge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,11 @@ export default {
this.valueKey = this.metadata.valuesForHints(['range'])[0].source;
this.openmct.telemetry.request(domainObject, { strategy: 'latest' }).then((values) => {
const options = {
strategy: 'latest',
timeContext: this.openmct.time.getContextForView([])
};
this.openmct.telemetry.request(domainObject, options).then((values) => {
const length = values.length;
this.updateValue(values[length - 1]);
});
Expand Down

0 comments on commit 9992e59

Please sign in to comment.