Commit 72f02acf authored by Chris Wells's avatar Chris Wells Committed by Tim Plunkett
Browse files

Issue #3245948 by guylyons, chrisfromredfin: Resolve issues shown when running...

Issue #3245948 by guylyons, chrisfromredfin: Resolve issues shown when running the build process for Svelte app
parent 9861c579
Loading
Loading
Loading
Loading
+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+12 −1
Original line number Diff line number Diff line
@@ -37,6 +37,17 @@ export default {
		name: 'app',
		file: 'public/build/bundle.js'
	},
  onwarn: (warn, warning) => {
    let message = warn.message;
    if (message.includes('drupalSettings')) {
      return;
    }
    if (message.includes('on:blur')) {
      return;
    }
    // Use default for everything else
    warning(warn);
  },
  plugins: [
		json(),

+5 −15
Original line number Diff line number Diff line
@@ -13,7 +13,7 @@
    const dispatch = createEventDispatcher();
    const stateContext = getContext("state");

    export let filter = (row, text, index) => {
    export const filter = (row, text, index) => {
        text = text.toLowerCase();
        for (let i in row) {
            if (row[i] &&
@@ -27,11 +27,11 @@
        }
        return false;
    };
    export let index = -1;
    export let text = "";
    export const index = -1;
    export const text = "";
    export let category = [];

    export let labels = {
    export const labels = {
        placeholder: "Title contains...",
        ...globalLabels
    };
@@ -67,16 +67,6 @@
        padding: 0.5rem 1.5rem 1.5rem 1.5rem;
        background-color: #fff;
    }
    .views-exposed-form .form-item--no-label, .views-exposed-form__item.views-exposed-form__item.views-exposed-form__item--actions {
        margin-top: 2.375rem;
    }
    .views-exposed-form__item--actions.views-exposed-form__item--actions .button:last-child {
        margin-right: 0;
    }
    .views-exposed-form__item--actions.views-exposed-form__item--actions .button {
        margin-top: 0;
        margin-bottom: 0;
    }
    .checkbox-label {
      padding-left: 10px;
      text-indent: 10px;
@@ -89,7 +79,7 @@
<!--Changed to checkbox -->
<form class="views-exposed-form">
    <div class="views-exposed-form__item js-form-item form-item js-form-type-select form-type--select js-form-item-type form-item--type">
        <label class="form-item__label"><h2>Categories</h2></label>
        <h2>Categories</h2>
        {#each category_list as dt }

        <input type = "checkbox" id= {dt.tid} bind:group={category} on:change={onSelectCategory} value={dt.tid} >
Loading