Skip to content

Commit

Permalink
fix header title in iris and retina (clean up)
Browse files Browse the repository at this point in the history
  • Loading branch information
inikoo committed Jan 22, 2025
1 parent d2c9555 commit 4e3db05
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
3 changes: 1 addition & 2 deletions resources/js/Pages/Iris/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ const isPreviewLoggedIn = ref(layout.iris.user_auth)
const showWebpage = (activityItem) => {
if (activityItem?.web_block?.layout && activityItem.show) {
if (isPreviewLoggedIn.value && activityItem.visibility.in) return true
else if (!isPreviewLoggedIn.value && activityItem.visibility.out) return true
else return false
else return !isPreviewLoggedIn.value && activityItem.visibility.out;
} else return false
}

Expand Down
2 changes: 0 additions & 2 deletions resources/js/app-iris.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import PrimeVue from 'primevue/config';
import Aura from '@primevue/themes/aura';
import { definePreset } from '@primevue/themes';

/* const appName = 'Iris' */;

const MyPreset = definePreset(Aura, {
semantic: {
primary: {
Expand Down
2 changes: 0 additions & 2 deletions resources/js/app-retina.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ import PrimeVue from 'primevue/config';
import Aura from '@primevue/themes/aura';
import { definePreset } from '@primevue/themes';

const appName = 'Retina' || window.document.getElementsByTagName('title')[0]?.innerText;

const MyPreset = definePreset(Aura, {
semantic: {
primary: {
Expand Down

0 comments on commit 4e3db05

Please sign in to comment.