Skip to content

Commit

Permalink
Naming tweaks, round two
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksleight committed Sep 24, 2024
1 parent 5002d37 commit eed8334
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 15 deletions.
2 changes: 1 addition & 1 deletion resources/js/components/fieldtypes/CodeFieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ export default {
internalActions() {
return [
{
display: __('Toggle Fullscreen Mode'),
title: __('Toggle Fullscreen Mode'),
icon: 'expand-bold',
quick: true,
run: this.toggleFullscreen,
Expand Down
4 changes: 0 additions & 4 deletions resources/js/components/fieldtypes/Fieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,6 @@ export default {
return prefix+'field_'+this.config.handle;
},
internalActions() {
return [];
},
actionPayload() {
return {
vm: this,
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/fieldtypes/GroupFieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default {
internalActions() {
return [
{
display: __('Toggle Fullscreen Mode'),
title: __('Toggle Fullscreen Mode'),
icon: 'expand-bold',
quick: true,
run: this.toggleFullscreen,
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/fieldtypes/TableFieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export default {
internalActions() {
return [
{
display: __('Toggle Fullscreen Mode'),
title: __('Toggle Fullscreen Mode'),
icon: 'expand-bold',
quick: true,
run: this.toggleFullscreen,
Expand Down
6 changes: 3 additions & 3 deletions resources/js/components/fieldtypes/bard/BardFieldtype.vue
Original file line number Diff line number Diff line change
Expand Up @@ -350,19 +350,19 @@ export default {
internalActions() {
return [
{
display: __('Expand All Sets'),
title: __('Expand All Sets'),
icon: 'arrows-horizontal-expand',
quick: true,
run: this.expandAll,
},
{
display: __('Collapse All Sets'),
title: __('Collapse All Sets'),
icon: 'arrows-horizontal-collapse',
quick: true,
run: this.collapseAll,
},
{
display: __('Toggle Fullscreen Mode'),
title: __('Toggle Fullscreen Mode'),
icon: 'expand-bold',
quick: true,
run: this.toggleFullscreen,
Expand Down
2 changes: 1 addition & 1 deletion resources/js/components/fieldtypes/grid/Grid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default {
internalActions() {
return [
{
display: __('Toggle Fullscreen Mode'),
title: __('Toggle Fullscreen Mode'),
icon: 'expand-bold',
quick: true,
run: this.toggleFullScreen,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ export default {
internalActions() {
return [
{
display: __('Toggle Fullscreen Mode'),
title: __('Toggle Fullscreen Mode'),
icon: 'expand-bold',
quick: true,
run: this.toggleFullscreen,
Expand Down
6 changes: 3 additions & 3 deletions resources/js/components/fieldtypes/replicator/Replicator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -162,19 +162,19 @@ export default {
internalActions() {
return [
{
display: __('Expand All Sets'),
title: __('Expand All Sets'),
icon: 'arrows-horizontal-expand',
quick: true,
run: this.expandAll,
},
{
display: __('Collapse All Sets'),
title: __('Collapse All Sets'),
icon: 'arrows-horizontal-collapse',
quick: true,
run: this.collapseAll,
},
{
display: __('Toggle Fullscreen Mode'),
title: __('Toggle Fullscreen Mode'),
icon: 'expand-bold',
quick: true,
run: this.toggleFullscreen,
Expand Down

0 comments on commit eed8334

Please sign in to comment.