Browse Source

fix problem not showing user's projects on project page

Trent Larson 2 weeks ago
parent
commit
fd50fd0034
  1. 3
      CHANGELOG.md
  2. 4
      README.md
  3. 2
      src/views/ProjectsView.vue
  4. 2
      test-playwright/20-create-project.spec.ts

3
CHANGELOG.md

@ -9,9 +9,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.3.33] - 2024.11.07 ## [0.3.33] - 2024.11.07
### Fixed ### Fixed
- Affirm Delivery button on offer claim page didn't work. - Affirm Delivery button on offer claim page didn't work.
- Plans were not showing by default on project page.
## [0.3.32] - 2024.11.06 ## [0.3.32] - 2024.11.06 - 9a3fa38a3fd28f977e06f0265fc39e635c9c5ccd
### Added ### Added
- New offers to user & to user's projects - New offers to user & to user's projects

4
README.md

@ -51,7 +51,9 @@ npm run test-all
* Commit everything (since the commit hash is used the app). * Commit everything (since the commit hash is used the app).
* Record what version is currently on production. * Put the commit hash in the changelog (which will help you remember to bump the version later).
* Record what version is currently on production in docs.
* Run the correct build: * Run the correct build:

2
src/views/ProjectsView.vue

@ -340,7 +340,7 @@ export default class ProjectsView extends Vue {
console.error("No accounts found."); console.error("No accounts found.");
this.errNote("You need an identifier to load your projects."); this.errNote("You need an identifier to load your projects.");
} else { } else {
await this.loadOffers(); await this.loadProjects();
} }
} catch (err) { } catch (err) {
console.error("Error initializing:", err); console.error("Error initializing:", err);

2
test-playwright/20-create-project.spec.ts

@ -64,7 +64,7 @@ test('Create new project, then search for it', async ({ page }) => {
// Search for newly-created project in /projects // Search for newly-created project in /projects
await page.goto('./projects'); await page.goto('./projects');
await page.locator('ul#listProjects li').filter({ hasText: finalTitle }); await expect(page.locator('ul#listProjects li').filter({ hasText: finalTitle })).toBeVisible();
// Search for newly-created project in /discover // Search for newly-created project in /discover
await page.goto('./discover'); await page.goto('./discover');

Loading…
Cancel
Save