Skip to content

Commit

Permalink
Update for Craft 4 / Fix index columns
Browse files Browse the repository at this point in the history
  • Loading branch information
Tam committed Oct 31, 2022
1 parent 7d6c6d9 commit 39cbaf0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.0 - 2022-10-31 🎃
### Changed
- Update for Craft 4 via @davidwebca

## 1.0.9 - 2021-09-07
### Fixed
- Fix compatibility issue with Gatsby Helper (Fixes #20)
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "ether/tags",
"description": "A tag manager for Craft 3",
"type": "craft-plugin",
"version": "1.0.9",
"version": "2.0.0",
"keywords": [
"craft",
"cms",
Expand Down
6 changes: 2 additions & 4 deletions src/elements/Tag.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ class Tag extends \craft\elements\Tag
// =========================================================================

/** @var Tag|null */
public $replaceWith;

public $usage;
public ?Tag $replaceWith;
public ?int $usage;

// Methods
// =========================================================================
Expand Down Expand Up @@ -154,7 +153,6 @@ protected static function defineSources (string $context = null): array
protected static function defineTableAttributes (): array
{
$attrs = [
'title' => ['label' => Craft::t('app', 'Title')],
'group' => ['label' => Craft::t('app', 'Group')],
];

Expand Down

0 comments on commit 39cbaf0

Please sign in to comment.