Skip to content

Commit

Permalink
Merge pull request #61 from percipioglobal/develop
Browse files Browse the repository at this point in the history
Version 1.4.1.1 hotfix #59
  • Loading branch information
Jamie Taylor committed Dec 11, 2020
2 parents cf8cd16 + 02db838 commit 877a5ed
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Expand Up @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/).


## 1.4.1.1 - 2020-12-11

- Fixes #59(https://github.com/percipioglobal/craft-colour-swatches/issues/59); another colour/color bug.

## 1.4.1 - 2020-12-09

### Fixed
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Expand Up @@ -2,7 +2,7 @@
"name": "percipioglobal/craft-colour-swatches",
"description": "Let clients choose from a predefined set of colours.",
"type": "craft-plugin",
"version": "1.4.1",
"version": "1.4.1.1",
"keywords": [
"craft",
"cms",
Expand Down Expand Up @@ -32,7 +32,7 @@
"extra": {
"name": "Colour Swatches",
"handle": "colour-swatches",
"schemaVersion": "1.4.1",
"schemaVersion": "1.4.1.1",
"hasCpSettings": false,
"hasCpSection": false,
"changelogUrl": "https://raw.githubusercontent.com/percipioglobal/craft-colour-swatches/master/CHANGELOG.md",
Expand Down
2 changes: 1 addition & 1 deletion src/fields/ColourSwatches.php
Expand Up @@ -128,7 +128,7 @@ public function getSettingsHtml()
$rows = Plugin::$plugin
->settings->colors ? Plugin::$plugin
->settings->colors : Plugin::$plugin
->settings->colours;
->settings->colors;
}

$config = ['instructions' => Craft::t('colour-swatches', 'Define the available colors.') , 'id' => 'options', 'name' => 'options', 'addRowLabel' => Craft::t('colour-swatches', 'Add a colour') , 'cols' => ['label' => ['heading' => Craft::t('colour-swatches', 'Label') , 'type' => 'singleline', ], 'color' => ['heading' => Craft::t('colour-swatches', 'Hex Colours (comma seperated)') , 'type' => 'singleline', ], 'default' => ['heading' => Craft::t('colour-swatches', 'Default?') , 'type' => 'checkbox', 'class' => 'thin', ], ], 'rows' => $rows, ];
Expand Down

0 comments on commit 877a5ed

Please sign in to comment.