Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

d2-charts-api

Package Overview
Dependencies
Maintainers
1
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

d2-charts-api - npm Package Compare versions

Comparing version 29.0.0 to 29.0.1

10

lib/config/adapters/dhis_highcharts/title.js

@@ -10,3 +10,3 @@ 'use strict';

exports.default = function (layout, metaData, dashboard) {
return _extends(getTextObject(layout, metaData, dashboard), DEFAULT_TITLE, dashboard ? DASHBOARD_TITLE : undefined);
return _extends(getTextObject(layout, metaData, dashboard), DEFAULT_TITLE_STYLE, dashboard ? DASHBOARD_TITLE_STYLE : undefined);
};

@@ -24,3 +24,3 @@

var DEFAULT_TITLE = {
var DEFAULT_TITLE_STYLE = {
margin: 30,

@@ -33,3 +33,3 @@ y: 18,

var DASHBOARD_TITLE = {
var DASHBOARD_TITLE_STYLE = {
margin: 15,

@@ -56,3 +56,3 @@ y: 12,

// filters
if (layout.filters) {
if (layout.filters && !dashboard) {
return (0, _getFilterTitle2.default)(layout.filters, metaData);

@@ -69,2 +69,4 @@ }

}
;
//# sourceMappingURL=title.js.map

2

package.json
{
"name": "d2-charts-api",
"version": "29.0.0",
"version": "29.0.1",
"description": "DHIS2 charts api",

@@ -5,0 +5,0 @@ "main": "index.js",

import isString from 'd2-utilizr/lib/isString';
import getFilterTitle from './getFilterTitle';
const DEFAULT_TITLE = {
const DEFAULT_TITLE_STYLE = {
margin: 30,

@@ -12,3 +12,3 @@ y: 18,

const DASHBOARD_TITLE = {
const DASHBOARD_TITLE_STYLE = {
margin: 15,

@@ -35,3 +35,3 @@ y: 12,

// filters
if (layout.filters) {
if (layout.filters && !dashboard) {
return getFilterTitle(layout.filters, metaData);

@@ -52,5 +52,5 @@ }

getTextObject(layout, metaData, dashboard),
DEFAULT_TITLE,
dashboard ? DASHBOARD_TITLE : undefined
DEFAULT_TITLE_STYLE,
dashboard ? DASHBOARD_TITLE_STYLE : undefined
);
}
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc