Skip to content

Deleting post removes the post before actual delete is performed #255

@ng-gist

Description

@ng-gist

Expected Behavior

When deleting a post, it should only be removing after receiving a success response from server.

Actual Behavior

When deleting a post, it is removed immediately. If server returns an error, page need to be refreshed to see the post.

Steps to Reproduce

  1. Open the 1Rramp app and go to Profile.
  2. Click on Posts from the top navigation.
  3. Navigate to an older post with delete option (I can't see delete option for all the posts. It looks like it only shows up for posts not created using 1Ramp).
  4. Delete the post.
  5. Post is removed immediately but a error is thrown later once the call is complete.

ezgif com-video-to-gif 3

  • Device : Samsung S8
  • System Operating : 8.0.0 Oreo
  • App Version: 1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions