mirror of
https://github.com/weaveworks/scope.git
synced 2026-08-18 20:07:06 +00:00
Store the pausedAt state in the app URL.
This commit is contained in:
@@ -5,7 +5,6 @@ import { Map as makeMap } from 'immutable';
|
||||
import MatchedText from '../matched-text';
|
||||
import ShowMore from '../show-more';
|
||||
import { formatDataType } from '../../utils/string-utils';
|
||||
import { getSerializedTimeTravelTimestamp } from '../../utils/web-api-utils';
|
||||
|
||||
|
||||
class NodeDetailsInfo extends React.Component {
|
||||
@@ -68,7 +67,7 @@ class NodeDetailsInfo extends React.Component {
|
||||
|
||||
function mapStateToProps(state) {
|
||||
return {
|
||||
timestamp: getSerializedTimeTravelTimestamp(state),
|
||||
timestamp: state.get('pausedAt'),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,6 @@ import NodeDetailsTableRow from './node-details-table-row';
|
||||
import NodeDetailsTableHeaders from './node-details-table-headers';
|
||||
import { ipToPaddedString } from '../../utils/string-utils';
|
||||
import { moveElement, insertElement } from '../../utils/array-utils';
|
||||
import { getSerializedTimeTravelTimestamp } from '../../utils/web-api-utils';
|
||||
import {
|
||||
isIP, isNumber, defaultSortDesc, getTableColumnsStyles
|
||||
} from '../../utils/node-details-utils';
|
||||
@@ -305,7 +304,7 @@ NodeDetailsTable.defaultProps = {
|
||||
|
||||
function mapStateToProps(state) {
|
||||
return {
|
||||
timestamp: getSerializedTimeTravelTimestamp(state),
|
||||
timestamp: state.get('pausedAt'),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user