Remove obselete service
parent
8e9eb52639
commit
cbcb8e7622
|
@ -293,19 +293,7 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import FetchPricing from '@/service/PricingService';
|
||||
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
pricing: null
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
FetchPricing().then((data) => {
|
||||
this.pricing = data;
|
||||
});
|
||||
},
|
||||
methods: {
|
||||
isDarkTheme() {
|
||||
return this.$appState.darkTheme === true;
|
||||
|
|
|
@ -1,11 +0,0 @@
|
|||
async function fetchPricing() {
|
||||
try {
|
||||
const response = await fetch('https://www.primefaces.org/cdn/pricing/uikit.json', { cache: 'no-store' });
|
||||
|
||||
return response.json();
|
||||
} catch {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
export default fetchPricing;
|
Loading…
Reference in New Issue