1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-12 22:18:31 +00:00

4.0.0-rc12.19

* Fixed: Default in-line Ban action not functioning.
This commit is contained in:
SirStendec 2018-09-03 14:32:58 -04:00
parent 3a0f94a230
commit 112fde0f4b
3 changed files with 5 additions and 3 deletions

View file

@ -100,7 +100,7 @@ class FrankerFaceZ extends Module {
FrankerFaceZ.Logger = Logger; FrankerFaceZ.Logger = Logger;
const VER = FrankerFaceZ.version_info = { const VER = FrankerFaceZ.version_info = {
major: 4, minor: 0, revision: 0, extra: '-rc12.18', major: 4, minor: 0, revision: 0, extra: '-rc12.19',
commit: __git_commit__, commit: __git_commit__,
build: __webpack_hash__, build: __webpack_hash__,
toString: () => toString: () =>

View file

@ -34,8 +34,8 @@ export default class Actions extends Module {
), ),
default: [ default: [
{v: {action: 'ban', appearance: {type: 'icon', icon: 'ffz-i-block'}, display: {mod: true, mod_icons: true, deleted: false}}}, {v: {action: 'ban', appearance: {type: 'icon', icon: 'ffz-i-block'}, options: {}, display: {mod: true, mod_icons: true, deleted: false}}},
{v: {action: 'unban', appearance: {type: 'icon', icon: 'ffz-i-ok'}, display: {mod: true, mod_icons: true, deleted: true}}}, {v: {action: 'unban', appearance: {type: 'icon', icon: 'ffz-i-ok'}, options: {}, display: {mod: true, mod_icons: true, deleted: true}}},
{v: {action: 'timeout', appearance: {type: 'icon', icon: 'ffz-i-clock'}, display: {mod: true, mod_icons: true}}}, {v: {action: 'timeout', appearance: {type: 'icon', icon: 'ffz-i-clock'}, display: {mod: true, mod_icons: true}}},
], ],

View file

@ -125,6 +125,8 @@ export const ban = {
} }
}], }],
defaults: {},
required_context: ['room', 'user'], required_context: ['room', 'user'],
editor: () => import(/* webpackChunkName: 'main-menu' */ './components/edit-ban.vue'), editor: () => import(/* webpackChunkName: 'main-menu' */ './components/edit-ban.vue'),