Skip to content

Commit

Permalink
Merge pull request #150 from razee-io/yaml_hist
Browse files Browse the repository at this point in the history
minor improvements to ui
  • Loading branch information
dalehille committed Sep 25, 2019
2 parents dca02b7 + 666c02c commit 59225fe
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions imports/api/resourceYamlHist/server/publications.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Meteor.publish('resourceYamlHist.histForSelfLink', function(orgId, clusterId, se
};
var options = {
sort: { updated: -1 },
limit: 10,
fields: {
org_id: 1,
cluster_id: 1,
Expand Down
4 changes: 4 additions & 0 deletions imports/ui/pages/resources/page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -92,3 +92,7 @@ table.tableCollapse{
}
}
}

.diff-hunk{
border-bottom: 1px solid #eee;
}
2 changes: 1 addition & 1 deletion imports/ui/pages/resources/resourcesSingle.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ export default withTracker(()=>{
});
var resourceYamlHistItems = ResourceYamlHist.find(
{ org_id: orgId, cluster_id: clusterId, resourceSelfLink: selfLink },
{ sort: {updated: -1 } }
{ sort: {updated: -1 }, limit: 10 },
).fetch();
var externalApplications = ExternalApplications.find( { org_id: orgId }).fetch();
var isLoading = _.some(subs, (sub)=>{
Expand Down

0 comments on commit 59225fe

Please sign in to comment.