fix(google-cloud): Minor cleanup to prevent Google Cloud packages from being added unnecessarily

This commit is contained in:
Erik Ziegler committed 2019-03-22 16:43:31 +01:00
1 parent 9486522552
commit 46828dc5ce
31 files changed
+48 -45

No files matched your search

@@ -0,0 +1,22 @@
import { Meteor } from 'meteor/meteor';
import { Template } from 'meteor/templating';
import { OHIF } from 'meteor/ohif:core';
Template.gcloudDialog.onRendered(() => {
const instance = Template.instance();
// Allow options ovewrite
const modalOptions = _.extend(
{
backdrop: 'static',
keyboard: false,
width: 650,
},
instance.data.modalOptions
);
const $modal = instance.$('.modal');
// Create the bootstrap modal
$modal.modal(modalOptions);
});