Skip to content

Commit

Permalink
Version Update
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Feb 28, 2021
1 parent b1fbc0d commit b3fc083
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ GUI Extension for Mecha
Release Notes
-------------

### main

- [x] Added GUI tests menu that will be visible only if `DEBUG` mode is enabled by user.
- [x] Added `$_['icon']` property to store the SVG path icons globally.
- [x] Added `description`, `icon`, `separator`, `title`, `field/description`, `field/name`, `field/path`, `field/title` type.
- [x] Added `files/*` and `pages/*` type variants.
- [x] Added `sort` option key to allow user to sort the `lot` data using custom key reference other than `stack`.
- [x] Added `width` option key for `desk` type to allow user to set custom desk width.
- [x] Renamed `$_['chops']` to `$_['chop']`.
### 2.6.0

- Added GUI tests menu that will be visible only if `DEBUG` mode is enabled by user.
- Added `$_['icon']` property to store the SVG path icons globally.
- Added `description`, `icon`, `separator`, `title`, `field/description`, `field/name`, `field/path`, `field/title` type.
- Added `files/*` and `pages/*` type variants.
- Added `sort` option key to allow user to sort the `lot` data using custom key reference other than `stack`.
- Added `width` option key for `desk` type to allow user to set custom desk width.
- Renamed `$_['chops']` to `$_['chop']`.

### 2.5.1, 2.5.2

Expand Down
2 changes: 1 addition & 1 deletion panel/about.page
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ title: Panel
description: GUI extension for Mecha.
author: Taufik Nurrohman
type: Markdown
version: 2.5.2
version: 2.6.0

use:
'.\lot\x\layout': 1
Expand Down
3 changes: 2 additions & 1 deletion panel/engine/r/user.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<?php

$status = $user['status'] ?? -1;
// $status = $user['status'] ?? -1; // Buggy :(
$status = $user->status ?? -1;
if (is_file($f = __DIR__ . DS . '..' . DS . '..' . DS . 'state' . DS . 'user' . DS . $status . '.php')) {
State::set('x.panel.guard.status.' . $status, (array) require $f);
}
Expand Down

0 comments on commit b3fc083

Please sign in to comment.